Gets or sets the index of the icon to display in the item.
object.Icon = [integer]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and integer is the index of the icon in an ImageList control that you wish to display.
Newlook Smartclient only.
This property is useful if you wish to display a default image in the node or list item.
In order to use this property an image list must be specified in the Icons property of the tree view or list view control.
For the list view control, this property is only relevant if the View property is set to ViewIcon. For the tree view control, this property is only applied if the Style property is set to TreeViewPictureText, TreeViewPlusPictureText, TreeViewLinesPictureText or TreeViewLinesPlusPictureText.
SelectedIcon property | ForeColor property | BackColor property | Style property | Icons property | View property
© 2004-2021 looksoftware. All rights reserved.