←Select platform

ItemsSource Property

Summary

Gets or sets a collection used to generate the content of the ImageList. This is a dependency property.

Syntax

C#
VB
C++
public ObservableCollection<IImageListItem> ItemsSource { get; set; } 
  
Public Shadows Property ItemsSource As ObservableCollection(Of IImageListItem) 
public: 
new property ObservableCollection<IImageListItem^>^ ItemsSource { 
   ObservableCollection<IImageListItem^>^ get(); 
   void set (    ObservableCollection<IImageListItem^>^ ); 
} 

Property Value

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

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly