Returns or sets the index or key value of a ListImage object in an associated ImageList control; the ListImage is displayed when a Node object is selected.
Syntax
object.SelectedImage [ = index]
The SelectedImage property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
index | An integer or unique string that identifies a ListImage object in an associated ImageList control. The integer is the value of the ListImage object's Index property; the string is the value of the Key property. |
Remarks
If this property is set to Null, the mask of the default image specified by the Image property is used.