Event args for class for TextContentChanging event.
Definition
Namespace:Telerik.Windows.SyntaxEditor.Core.Text
Assembly:Telerik.Windows.SyntaxEditor.Core.dll
Syntax:
C#
public class TextContentChangingEventArgs : EventArgs
Inheritance: objectEventArgsTextContentChangingEventArgs
Inherited Members
Constructors
Initializes a new instance of the TextContentChangingEventArgs class.
C#
public TextContentChangingEventArgs(TextSnapshot beforeChangeSnapshot, TextChange change)
Properties
Gets the snapshot before the change.
C#
public TextSnapshot BeforeChangeSnapshot { get; }
Gets a value indicating whether the text change should be cancelled.
C#
public bool Canceled { get; }
Gets the text change.
C#
public TextChange Change { get; }
Methods
Cancels the content changing.
C#
public void Cancel()