A newer version of this page is available. Switch to the current version.

RichEditSettings.CalculateDocumentVariable Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public CalculateDocumentVariableEventHandler CalculateDocumentVariable { get; set; }
Public Property CalculateDocumentVariable As CalculateDocumentVariableEventHandler

Property Value

Type Description
CalculateDocumentVariableEventHandler

A CalculateDocumentVariableEventHandler method to which custom processing is delegated.

Remarks

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