TX Text Control .NET Server

DefaultMessage 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

Gets the default message for the user. If a subscriber does not handle the event, this message is displayed with a message box asking the end-user whether the change of the document should be performed.

Syntax

public string DefaultMessage { get; }

Examples

The following example uses CannotTrackChangeEventArgs.DefaultMessage while handling CannotTrackChange.

textControl.CannotTrackChange += (_, e) =>
{
    Console.WriteLine($"Default Message: {e.DefaultMessage}");
};