LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

ItemsSource Property

Show in webframe





Gets or sets a collection used to generate the content of the ImageList. This is a dependency property.
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 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

See Also

Reference

ImageList Class
ImageList Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.