Click or drag to resize

ListView.SmallImageList Property (Typed)

X#
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.19
Syntax
 VIRTUAL PROPERTY SmallImageList AS ImageList GET SET 
Request Example View Source

Property Value

Type: ImageList
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
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.
X#
1LOCAL oImageList     AS ImageList
X#
1oImageList := ImageList{2, Dimension{16, 16}}
2oImageList:Add(SmIconCheck{})
3oImageList:Add(SmIconCross{})
4SELF:oDClvPlayers:SmallImageList := oImageList
See Also