property XMLGrid.ExpandButtonsCustom(Expanded as Boolean) as Long
Specifies the index of icons for +/- signs when the ExpandButtons property is exCustom.

TypeDescription
Expanded as Boolean A boolean expression that indicates the expanding or collapsing button being changed.  
Long A long expression that indicates the index of icon being displayed.
Use the ExpandButtonsCustom property to assign icons for +/- buttons. Use the +/- buttons to expand or collapse nodes. Use the ExpandButtons property to change the appearance for +/- buttons. The ExpandButtonsCustom property has effect only if the ExpandButtons property is exCustom. Use the Images method to assign a list of icons to the control. Use the MoveCursorOnCollapse property to move the cursor when user collapses a node.

The following sample assigns different icons for +/- buttons:

With XMLGrid1
    .Images "gBJJgBAICAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx2PyGRyWTymVy2XzGZzWbzmdz2f0Gh0WjwEWH0r08ekEikgAkso184iGkicPjcU2+zjW4jTnZ++jbv4Tvjbu4fF48adAv5fI4XO4ka4fRjO+4G73UZ3na7IAgI="
    
    .ExpandButtons = exCustom
    .ExpandButtonsCustom(True) = 2
    .ExpandButtonsCustom(False) = 1
End With