SmallIcon Property

Gets or sets the index of the small image to display in the item.

object.SmallIcon = [string]

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.

Client support

Newlook Smartclient only.

Use

This property is useful if you wish to display an image next to a list item.

In order to use this property an image list must be specified in the SmallIcons property of the list view control. Once you have associated an image list control with your list view control, open the ListItems collection editor to modify the SmallIcon property of individual list items and set the index of the image that you wish to display next to that item.

TIP:

This property is only relevant if the View property is set to ViewSmallIcon, ViewList or ViewReport.

See Also

Icon property | Icons property | View property | CheckBoxes property

Applies To

ListView control


© 2004-2021 looksoftware. All rights reserved.