Skip to main content

AutoSuggestBoxTextChangedEventArgs

C# API / Fluence.Wpf

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf
public class AutoSuggestBoxTextChangedEventArgs : EventArgs

Provides data for the TextChanged event.

Base type: EventArgs (including inherited WPF and .NET members)

C# source

Constructors​

AutoSuggestBoxTextChangedEventArgs​

public AutoSuggestBoxTextChangedEventArgs()

Creates a new AutoSuggestBoxTextChangedEventArgs instance.

Properties​

Reason​

public AutoSuggestionBoxTextChangeReason Reason { get; set; }

Gets or sets the reason the text changed.

Methods​

CheckCurrent​

public bool CheckCurrent()

Returns whether the text of the AutoSuggestBox that raised this event is unchanged since the event was raised. Use this WinUI parity helper to discard stale asynchronous filtering results. Returns true for instances not raised by an AutoSuggestBox.

Returns: true when the owning box text still matches the text captured when the event was raised; otherwise false.