'Declaration
Public Property ItemsSource As Object
'Usage
Dim instance As ListBox
Dim value As Object
instance.ItemsSource = value
value = instance.ItemsSource
Property Value
An IEnumerable representing the data source to which a listbox is bound.
Remarks
Xceed WPF listbox control provides built-in support for WCF Data, as well as for any local data source that implements IEnumerable. In order to populate a listbox with data items, its ItemsSource property must be bound to a property that exposes the data. Once the data items are loaded into a listbox, they can be edited, grouped, sorted, and filtered.
Example
For examples on how to bind to various data sources, refer to the Providing Data topic.
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2