Skip to content

AutoSuggestBoxSuggestionChosenEventArgs class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.AutoSuggestBoxSuggestionChosenEventArgs Modifiers: public sealed

Summary

        Provides data for the event that is raised when a user selects a suggestion in an AutoSuggestBox control.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class AutoSuggestBoxSuggestionChosenEventArgs
class RoutedEventArgs
RoutedEventArgs <|-- AutoSuggestBoxSuggestionChosenEventArgs

Inherits from: RoutedEventArgs

Remarks

Use this class to access the item that was chosen by the user from the suggestion list. This event data is typically used in an event handler for the AutoSuggestBox.SuggestionChosen event to retrieve the selected item and perform additional actions, such as updating the UI or processing the selection.

Constructors

NameSummary
.ctorInitializes a new instance of the [AutoSuggestBoxSuggestionChosenEventArgs](# class.

Properties

NameSummary
SelectedItemGets the selected item.
Inherited members