Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentCustomProperties Members

In This Article
Contains all the custom document properties for the document.

#Properties

Name Description
Count Returns the number of custom properties in a collection.
Item[String] Gets or sets the value of a custom property.
Names Gets a collection of custom property names.

#Methods

Name Description
Add(String, Bookmark) Adds a new custom property linked to the specified bookmark and value to the collection of custom properties for the document.
Add(String, Boolean) Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, DateTime) Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, Double) Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, Int32) Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, String) Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Clear() Removes all items from the collection.
Remove(String) Removes a custom property with the specified name from the current document.
See Also