Język

TextChangedEventArgs Class

Definition

Provides data for the TextChanged and BeforeTextChanged events, describing a change to the text of a TextView.

public class TextChangedEventArgs : EventArgs
type TextChangedEventArgs = class
    inherit EventArgs
Inheritance
TextChangedEventArgs

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
TextChangedEventArgs(IEnumerable<Char>, Int32, Int32, Int32)

Initializes a new instance of the TextChangedEventArgs class.

Properties

Name Description
AfterCount

Gets the number of characters that replace the old text starting at Start.

BeforeCount

Gets the number of characters that are being replaced starting at Start.

Start

Gets the offset in the text where the change began.

Text

Gets the character sequence being reported. For BeforeTextChanged this is the text before the change; for TextChanged this is the text after the change.

Applies to