Udostępnij za pośrednictwem


AutoSuggestBoxTextChangedEventArgs.CheckCurrent Method

Definition

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:
 virtual bool CheckCurrent() = CheckCurrent;
bool CheckCurrent();
public bool CheckCurrent();
function checkCurrent()
Public Function CheckCurrent () As Boolean

Returns

Boolean

bool

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

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.

Applies to