Skip to main content

AutoSuggestEdit.ItemsSource Property

Get or sets a collection of items (suggestions) displayed within the editor’s dropdown. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public object ItemsSource { get; set; }

Property Value

Type Description
Object

An object that represents the data source from which the AutoSuggestEdit retrieves a list of suggestions.

Remarks

The AutoSuggestEdit editor does not iterate the source itself. The assigned item collection is passed to the editor’s drop down.

The control in the editor’s popup processes the ItemsSource collection. You can get this control by using the PopupElement property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemsSource property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also