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.v20.1.dll

Declaration

public event EventHandler<AutoSuggestEditSuggestionChosenEventArgs> SuggestionChosen
Public Event SuggestionChosen As EventHandler(Of AutoSuggestEditSuggestionChosenEventArgs)

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