Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

DocumentVariableCollection Class

A collection of document variables.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

#Declaration

[ComVisible(true)]
public class DocumentVariableCollection

The following members return DocumentVariableCollection objects:

#Remarks

Use the Document.Variables property to get access to the DocumentVariableCollection.

The DocumentVariableCollection holds variables as key-value pairs (the variable name is the key).

The DOCVARIABLE field can be used to insert a document variable value in the document. Handle one of the following events to adjust the content inserted in place of the field as required:

Use the SubDocument.Fields property to access the DOCVARIABLE fields.

#Inheritance

Object
DocumentVariableCollection
See Also