CannotTrackChange Event
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Determines how to handle a change of the document that cannot be added to the list of tracked changes. Complex table layout changes, such as deleting a table column or merging table cells cannot be tracked. The default handling does not perform the change. The event handler receives an argument of type CannotTrackChangeEventArgs containing data related to this event. Using the CannotTrackChangeEventArgs.Cancel property the default handling can be changed.
Syntax
public event CannotTrackChangeEventHandler CannotTrackChange;Public Event CannotTrackChange As CannotTrackChangeEventHandlerExamples
The following example records useful context when cannot track change occurs.
textViewGenerator.CannotTrackChange += (sender, e) =>
{
Console.WriteLine($"Handled: {e.Handled}");
};AddHandler textViewGenerator.CannotTrackChange,
Sub(sender, e)
Console.WriteLine($"Handled: {e.Handled}")
End Sub