ExpandedImage Property

       

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 expanded.

Syntax

object.ExpandedImage[ = number]

The ExpandedImage property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
number A numeric expression or string expression that specifies, respectively, the index value or the key value of the image to be displayed.

Remarks

This property allows you to change the image associated with a Node object when the user double-clicks the node or when the Node object's Expanded property is set to True.