Gets or sets the image associated with this IImageListItem object.
public ImageSource Source { get; set; }
Property Source As ImageSource
An System.Windows.Media.ImageSource object associated with this IImageListItem object.
The ImageList control will draw this image onto the item surface. If the item does not have an image, the value of this property is null (Nothing in VB) and, nothing is drawn.
You can set the Source property directly with the item image or you can set the Uri property with the path to the image and let the control load the image.
You must ensure that the area defined by Width and Height is large enough to hold both the image size defined in ImageSize and the item text.
For C#/VB examples, refer to IImageListItem.
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