Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AutoSuggestEdit.SuggestionChoosing Event

Occurs before the editor accepts the selected value and allows you to substitute a selected popup item with another object.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

#Event Data

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

Property Description
Handled Gets or sets whether item substitution operation is handled and no default processing is required.
SelectedItem Gets the data item that corresponds to a suggestion that is about to be chosen.

#Remarks

Handle the SuggestionChoosing event to substitute a selected popup item with another object.

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

See Also