共用方式為


TextChangeEventArgs Class

Definition

Represents state for a TextChanged event.

public ref class TextChangeEventArgs : EventArgs
public class TextChangeEventArgs : EventArgs
type TextChangeEventArgs = class
    inherit EventArgs
Public Class TextChangeEventArgs
Inherits EventArgs
Inheritance
TextChangeEventArgs

Constructors

TextChangeEventArgs(SourceText, SourceText, IEnumerable<TextChangeRange>)

Initializes an instance of TextChangeEventArgs.

TextChangeEventArgs(SourceText, SourceText, TextChangeRange[])

Initializes an instance of TextChangeEventArgs.

Properties

Changes

Gets the set of ranges for the change.

NewText

Gets the text after the change.

OldText

Gets the text before the change.

Applies to