Skip to main content

ListBoxEdit.ItemsSource Property

Gets or sets the listbox's data source. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

#Declaration

[Bindable(true)]
public object ItemsSource { get; set; }

#Property Value

Type Description
Object

An object that represents the data source from which the listbox retrieves its data.

#Remarks

The listbox can be bound to any object that implements the IEnumerable interface or its descendant (e.g. IList, ICollection). To bind a listbox, you should assign a data source to the ItemsSource property. Note that the listbox cannot be bound at design-time - only at runtime.

#Implements

DevExpress.Xpf.Editors.Internal.ISelectorEdit.ItemsSource
See Also