Leadtools.Windows.Controls Namespace > ImageList Class : ItemsSource Property |
public new ObservableCollection<IImageListItem> ItemsSource {get; set;}
'Declaration Public Shadows Property ItemsSource As ObservableCollection(Of IImageListItem)
'Usage Dim instance As ImageList Dim value As ObservableCollection(Of IImageListItem) instance.ItemsSource = value value = instance.ItemsSource
public: new property ObservableCollection<IImageListItem^>^ ItemsSource { ObservableCollection<IImageListItem^>^ get(); void set ( ObservableCollection<IImageListItem^>^ value); }
You can add items to the ImageList control using the ItemsSource property. You can either add the items directly to this property or bind it to a collection object. For more information, refer to ItemsControl.ItemsSource in MSDN.
For C#/VB examples, refer to IImageListItem.