Skip to main content

RichEditSettings.CalculateDocumentVariable Property

Allows custom processing to be implemented when the DOCVARIABLE field field is updated.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5


public CalculateDocumentVariableEventHandler CalculateDocumentVariable { get; set; }

Property Value

Type Description

A CalculateDocumentVariableEventHandler method to which custom processing is delegated.


You can implement the method delegate to analyze DOCVARIABLE field switches and arguments, and provide custom content to insert into this field. The content can be of any supported type, and even as complex as another generated (mail merged) document.

To learn more, see the Document Variables Support demo.

See Also