.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

DocumentVariableCollection Class

A collection of document variables.

Namespace: DevExpress.XtraRichEdit

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


public class DocumentVariableCollection


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.


See Also