officefileapi-devexpress-dot-xtrarichedit-dot-calculatedocumentvariableeventargs-9f801289.md
Gets or sets whether the default action is required.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public bool Handled { get; set; }
Public Property Handled As Boolean
| Type | Description |
|---|---|
| Boolean |
true if no default action is necessary; otherwise, false.
|
Set the Handled property to true , to prevent the default actions associated with the this event. In this case, only the event handler code is executed.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Handled 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.
winforms-richedit-create-a-master-detail-report/CS/RichEditMasterDetailMailMerge/Form1.cs#L96
e.Value = result;
e.Handled = true;
}
how-to-use-docvariable-fields/CS/DocumentVariablesExample/Form1.cs#L78
e.Value = " ";
e.Handled = true;
return;
word-document-api-use-docvariable-fields/CS/Program.cs#L54
e.Value = " ";
e.Handled = true;
return;
wpf-richedit-use-docvariable-fields/CS/MainWindow.xaml.cs#L77
e.Value = " ";
e.Handled = true;
return;
word-document-api-create-master-detail-report/CS/Program.cs#L75
e.Value = pictureProcessor;
e.Handled = true;
}
winforms-richedit-create-a-master-detail-report/VB/RichEditMasterDetailMailMerge/Form1.vb#L90
e.Value = result
e.Handled = True
End If
how-to-use-docvariable-fields/VB/DocumentVariablesExample/Form1.vb#L77
e.Value = " "
e.Handled = True
Return
word-document-api-use-docvariable-fields/VB/Program.vb#L42
e.Value = " "
e.Handled = True
Return
wpf-richedit-use-docvariable-fields/VB/MainWindow.xaml.vb#L74
e.Value = " "
e.Handled = True
Return
word-document-api-create-master-detail-report/VB/Program.vb#L75
e.Value = pictureProcessor
e.Handled = True
End Using
See Also
CalculateDocumentVariableEventArgs Class