Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
ImageListItem Class
See Also  Members  
Leadtools.Windows.Controls Namespace : ImageListItem Class





Represents an item in an ImageList control.

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("FileName")>
Public Class ImageListItem 
   Inherits ListBoxItem
   Implements IElement 
Visual Basic (Usage)Copy Code
Dim instance As ImageListItem
C# 
[ContentPropertyAttribute("FileName")]
public class ImageListItem : ListBoxItem, IElement  
Managed Extensions for C++ 
[ContentPropertyAttribute("FileName")]
public __gc class ImageListItem : public ListBoxItem, IElement  
C++/CLI 
[ContentPropertyAttribute("FileName")]
public ref class ImageListItem : public ListBoxItem, IElement  
XAML Object Element Usage 

<ImageListItem .../>

Example

For C#/VB examples, refer to ImageList.

Remarks

The ImageList control is derived from ListBox. The main difference is that the ImageList supports viewing the BitmapSource in the number of different ways that items can be viewed by the user. The ImageListItem class defines the appearance and data associated with an item that is displayed in the ImageList control.

Most of the properties of the ImageListItem class provide ways to change the display of the item in the ImageList control it is associated with. The Image properties allows you to specify the image to view. Items also have a Text property that displays the text associated with this item.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        System.Windows.Controls.ListBoxItem
                           Leadtools.Windows.Controls.ImageListItem

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also