CalculateDocumentVariableEventArgs.Value Property
Gets or sets the value of the DOCVARIABLE field that fired the event.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v18.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
Object | An object that is inserted into a document in place of the DOCVARIABLE field. |
Remarks
Apart from the common object types such as string, datetime and numeric types, which could be converted to strings for display, you can pass complex objects that are able to provide document content. Actually, you can specify the Document or the RichEditDocumentServer for the Value property.
This functionality is quite useful for implementing complex reports, such as master-detail reporting. See this approach in action in our demo application - module Master-Detail Reporting.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Value property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.