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 ObservableCollection<IImageListItem> ItemsSource {get; set;}
hide get_ItemsSource();
set_ItemsSource(value);
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.
Target Platforms: 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