TX Text Control .NET for WPF

Handled Property

Property|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

The following example uses CannotTrackChangeEventArgs.Handled while handling CannotTrackChange.

textControl.CannotTrackChange += (_, e) =>
{
    e.Handled = true;
};