Skip to main content
All docs
V26.1
  • AutoSuggestEdit.SuggestionChosen Event

    Occurs when an end user selects a suggestion in the dropdown list and the editor accepts the selected value.

    Namespace: DevExpress.Xpf.Editors

    Assembly: DevExpress.Xpf.Core.v26.1.dll

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public event EventHandler<AutoSuggestEditSuggestionChosenEventArgs> SuggestionChosen

    Event Data

    The SuggestionChosen event's data class is AutoSuggestEditSuggestionChosenEventArgs. The following properties provide information specific to this event:

    Property Description
    SelectedItem Gets the data item that corresponds to a chosen suggestion.

    Remarks

    Handle the SuggestionChosen event to display a custom text within the editor’s text box when an end user chooses an item.

    Use the event arguments’ SelectedItem property to get the data item that corresponds to a chosen suggestion.

    See Also