Back to Devexpress

ExpandSubordinatesButtonMode Enum

corelibraries-devexpress-dot-diagram-dot-core-beb04784.md

latest3.0 KB
Original Source

ExpandSubordinatesButtonMode Enum

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

Namespace : DevExpress.Diagram.Core

Assembly : DevExpress.Diagram.v25.2.Core.dll

NuGet Package : DevExpress.Diagram.Core

Declaration

csharp
public enum ExpandSubordinatesButtonMode
vb
Public Enum ExpandSubordinatesButtonMode

Members

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

|

The following properties accept/return ExpandSubordinatesButtonMode values:

LibraryRelated API Members
WinForms ControlsDiagramOrgChartController.ExpandSubordinatesButtonMode
WPF ControlsDiagramOrgChartBehavior.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

Generate Diagrams from Hierarchical Data

Generate Diagrams from Hierarchical Data

DevExpress.Diagram.Core Namespace