property ExplorerBar.ExpandIcon(Expanded as Boolean) as Long
Retrieves or sets the index of the icon used to paint the expand button.

TypeDescription
Expanded as Boolean A boolean expression that indicates the state of the icon being changed. True means expanded, false means collapsed.
Long A long expression that indicates the index of icon used.

Use the ExpandIcon property to change the icon being displaye in the right side of the group's caption when the group is expanded or collapsed. Use the DisplayExpandIcon property to hide the expanded/collapsed icon. Use the Images method to add icons to the control. Use the ReplaceIcon method to update the list of icons. Use the Expanded property to expand a group. The control fires the ExpandGroup event when the user clicks the group's caption. Use the Caption property to specify the caption of the group.