Class TextContentChangingEventArgs
Event args for class for TextContentChanging event.
Inheritance
System.Object
System.EventArgs
TextContentChangingEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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()