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