Back to Devexpress

Expand Button

windowsforms-1071-controls-and-libraries-tree-list-visual-elements-expand-button.md

latest1.6 KB
Original Source

Expand Button

  • Apr 01, 2018

Expand buttons enable end-users to expand or collapse parent nodes (nodes that have children). When a parent node is collapsed, the node’s expand button displays a ‘plus’ sign indicating that the node can be expanded by clicking the button. Once a node has been expanded, the node’s button displays a ‘minus’ sign.

The table below lists the main properties that affect the element’s appearance:

|

Visibility

|

The TreeListOptionsView.ShowButtons option.

| |

Appearance

|

The TreeListAppearanceCollection.GroupButton property.

Note : the appearance settings are ignored if a Tree List is painted in WindowsXP or Office2003 style.

| |

Custom Draw Event

|

The TreeList.CustomDrawNodeButton event.

| |

Vertical Alignment

|

The TreeListOptionsView.ExpandButtonCentered property.

|

See Also

Appearances

Custom Drawing

Expanding and Collapsing Nodes