ListView.SmallImageList Property (Typed) | |
An image list containing small images to display for each item when the list view is displayed in list view, report view, or small icon view. The icons in this list must be defined elsewhere in
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY SmallImageList AS ImageList GET SET
public virtual ImageList SmallImageList { get; set; }
Request Example
View SourceProperty Value
Type:
ImageListAn image list containing small images to display for each item when the list view is displayed in list view, report view, or small icon view. The icons in this list must be defined elsewhere in
Examples
This example would typically occur in a PostInit() method of a window. In the example below, when the ListView is populated, each item will be assigned an image index, in this case depending upon whether the player in question is active or not.
1LOCAL oImageList AS ImageList
1oImageList := ImageList{2, Dimension{16, 16}}
2oImageList:Add(SmIconCheck{})
3oImageList:Add(SmIconCross{})
4SELF:oDClvPlayers:SmallImageList := oImageList
See Also