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

ListBoxEditSettings.Items Property

Provides access to the collection of items when the ListBoxEdit is not bound to a data source.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ListItemCollection Items { get; }

#Property Value

Type Description
DevExpress.Xpf.Editors.ListItemCollection

The collection of items.

#Remarks

Use the Items property to add, remove and access individual items using indexed notation.

To display items from a data source, assign the data source to the ListBoxEditSettings.ItemsSource property and specify the ListBoxEditSettings.DisplayMember and ListBoxEditSettings.ValueMember properties.

Note

If the editor is used within a container control (e.g. DXGrid or DXBars) for in-place editing, its items contained within the ListBoxEditSettings.Items or ListBoxEditSettings.ItemsSource collection should not be visual elements (e.g. ListBoxEditItem or any UIElement descendant).

See Also