Represents an item in a ImageList control containing an System.Windows.Media.ImageSource.
public class ImageListItem : IImageListItem, ListBoxItem
Public Class ImageListItem
Inherits System.Windows.Controls.ListBoxItem
Implements Leadtools.Windows.Controls.IImageListItem, System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement, System.Windows.IInputElement, System.Windows.Markup.IAddChild, System.Windows.Markup.IQueryAmbient, System.Windows.Media.Animation.IAnimatable
public ref class ImageListItem : public System.Windows.Controls.ListBoxItem, Leadtools.Windows.Controls.IImageListItem, System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement, System.Windows.IInputElement, System.Windows.Markup.IAddChild, System.Windows.Markup.IQueryAmbient, System.Windows.Media.Animation.IAnimatable
The ImageListItem class derives from the WPF/Silverlight System.Windows.Controls.ListBoxItem class to implement a class that represents a single item in an ImageList control that contains an System.Windows.Media.ImageSource. To display a LEADTOOLS Leadtools.RasterImage in the ImageList control, use RasterImageListItem.
The ImageListItem also implements the IImageListItem interface to define the appearance and data associated with an item that is displayed in the ImageList control.
The ImageListItem supports the following functionality:
Adding items that contain a WPF/Silverlight System.Windows.Media.ImageSource to the ImageList control through the Source property
Loading items directly from a URI using the Uri property
Setting the item text through the Text and ShowText properties
Setting the brushes used to draw the items with the Foreground, Background, SelectedForeground and SelectedBackground properties.
Control the item size with the Width, Height and ImageSize properties
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET