TX Text Control .NET Server

Handled Property

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

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