Document properties, also known as metadata, are details about a file that describe or identify it. Document properties include details such as title, author name, subject, keywords, etc. You can add custom document properties to the workbook as given in the following code sample.
Adding Custom Document Properties through User Interface, that is, Custom Property Window:
The Spreadsheet control allows you to manually create the Custom Property window, where you can add the custom document properties as done in Excel such as Name, Type and Value. The following code example shows how to create a custom property window in XAML.
To create an Observable collection to maintain the Custom properties of the Workbook:
The properties defined in the window are as follows:
By clicking the Add button in the Custom Property window, the properties of the Workbook that were entered are stored in the CustomDocumentProperties of the Workbook.
The following image is a screenshot of the Custom Property window.
Figure 1: Custom Property window
You can also add the custom property by entering the property’s name, type, and value in the text boxes and clicking the Add button in the Property window.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.