Auto​Suggest​Box​Text​Changed​Event​Args Auto​Suggest​Box​Text​Changed​Event​Args Auto​Suggest​Box​Text​Changed​Event​Args Class

Definition

Provides data for the TextChanged event.

public sealed class AutoSuggestBoxTextChangedEventArgs : DependencyObject, IAutoSuggestBoxTextChangedEventArgspublic sealed class AutoSuggestBoxTextChangedEventArgs : DependencyObject, IAutoSuggestBoxTextChangedEventArgsPublic NotInheritable Class AutoSuggestBoxTextChangedEventArgs Inherits DependencyObject Implements IAutoSuggestBoxTextChangedEventArgs
Inheritance
AutoSuggestBoxTextChangedEventArgsAutoSuggestBoxTextChangedEventArgsAutoSuggestBoxTextChangedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Constructors

AutoSuggestBoxTextChangedEventArgs() AutoSuggestBoxTextChangedEventArgs() AutoSuggestBoxTextChangedEventArgs()

Initializes a new instance of the AutoSuggestBoxTextChangedEventArgs class.

public AutoSuggestBoxTextChangedEventArgs()public AutoSuggestBoxTextChangedEventArgs()Public Sub New()
Attributes

Properties

Reason Reason Reason

Gets or sets a value that indicates the reason for the text changing in the AutoSuggestBox.

public AutoSuggestionBoxTextChangeReason Reason { get; set; }public AutoSuggestionBoxTextChangeReason Reason { get; set; }Public ReadWrite Property Reason As AutoSuggestionBoxTextChangeReason
Attributes

ReasonProperty ReasonProperty ReasonProperty

Identifies the Reason dependency property.

public static DependencyProperty ReasonProperty { get; }public static DependencyProperty ReasonProperty { get; }Public Static ReadOnly Property ReasonProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

Identifier for the Reason dependency property.

Attributes

Methods

CheckCurrent() CheckCurrent() CheckCurrent()

Returns a Boolean value indicating if the current value of the TextBox is unchanged from the point in time when the TextChanged event was raised.

public PlatForm::Boolean CheckCurrent()public bool CheckCurrent()Public Function CheckCurrent() As bool
Returns
bool bool bool

Indicates if the current value of the TextBox is unchanged from the point in time when the TextChanged event was raised.

Attributes

Remarks

This method is useful in determining if the text has changed since the event was raised, such as after obtaining suggestions from an asynchronous operation, in which time the user may have altered the text. Returns true if the text has not changed, false if it has.