New to Telerik UI for WinForms? Start a free 30-day trial

Provides the document variable lookup and result used by the DocumentVariableEvaluating event.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class DocumentVariableEvaluatingEventArgs : EventArgs

Inheritance: objectEventArgsDocumentVariableEvaluatingEventArgs

Inherited Members EventArgs.Empty

Constructors

Creates event data with the document's current value for the requested variable.

C#
public DocumentVariableEvaluatingEventArgs(RadDocument document, string variableName, object result)
Parameters:documentRadDocument

The document containing the variable.

variableNamestring

The name of the variable being evaluated.

resultobject

The value currently stored for the variable.

Properties

Gets the document whose variable is being evaluated.

C#
public RadDocument Document { get; }

Gets or sets whether the event handler supplies the lookup result through Result.

C#
public bool Handled { get; set; }

Gets or sets the value to return when Handled is true.

C#
public object Result { get; set; }

Gets the name of the variable being evaluated.

C#
public string VariableName { get; }