Handled Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
A subscriber can set this property to true to indicate that he has handled the event. In this case the default handling is suppressed. The default handling shows a MessageBox asking the end-user whether the change of the document should be performed. The default value of this property is false.
Syntax
public bool Handled { get; set; }Public Property Handled As BooleanExamples
The following example uses CannotTrackChangeEventArgs.Handled while handling CannotTrackChange.
textControl.CannotTrackChange += (_, e) =>
{
e.Handled = true;
};AddHandler textControl.CannotTrackChange,
Sub(sender, e)
e.Handled = True
End Sub