LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

ItemsSource Property






Gets or sets a collection used to generate the content of the ImageList. This is a dependency property. .NET support Silverlight support
Syntax
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);
}

Property Value

A collection that is used to generate the content of the ImageList. The default is null reference (Nothing in Visual Basic).
Remarks

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.

Example

For C#/VB examples, refer to IImageListItem.

Requirements

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

See Also

Reference

ImageList Class
ImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.