ExpandSubordinatesButtonMode Enum

Lists values that specify the visibility of the expand-collapse button.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v20.1.Core.dll

Declaration

public enum ExpandSubordinatesButtonMode
Public Enum ExpandSubordinatesButtonMode

Members

Name Description
Default

If the entire diagram is generated, the expand/collapse buttons are hidden.

If the generation and/or expansion depth is set to a non-default value, expand/collapse buttons are displayed.

None

Expand/collapse buttons are hidden

LookupChildrenInSource

A shape displays the expand/collapse button if it has hidden children shapes.

AlwaysVisible

The expand button is always visible.

Related API Members

The following properties accept/return ExpandSubordinatesButtonMode values:

Library Related API Members
WinForms Controls DiagramOrgChartController.ExpandSubordinatesButtonMode
WPF Controls DiagramOrgChartBehavior.ExpandSubordinatesButtonMode

Remarks

The diagram expansion depth and generation depth are specified by the following properties:

If any of these properties are set to a non-negative value, the ExpandSubordinatesButtonMode.Default is equivalent to ExpandSubordinatesButtonMode.LookupChildrenInSource.

Values listed by this enumeration are used to set the DiagramOrgChartBehavior.ExpandSubordinatesButtonMode and DiagramOrgChartController.ExpandSubordinatesButtonMode properties.

See Also