TX Text Control .NET Server

OnChanged Method

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

Description

Raises the view's Changed event.

Syntax

protected virtual void OnChanged(ViewChangedEventArgs e);

Parameters

ParameterDescription
e

Specifies an ViewChangedEventArgs object that contains the event data.

Examples

The following example handles Changed without deriving from View, whose instances are supplied by the document controller.

view.Changed += (sender, e) =>
{
    Console.WriteLine("Changed occurred.");
};