TX Text Control .NET for Windows Forms

DefaultMessage Property

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

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