corelibraries-devexpress-dot-diagram-dot-core-beb04784.md
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
public enum ExpandSubordinatesButtonMode
Public Enum ExpandSubordinatesButtonMode
| 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.
|
The following properties accept/return ExpandSubordinatesButtonMode values:
| Library | Related API Members |
|---|---|
| WinForms Controls | DiagramOrgChartController.ExpandSubordinatesButtonMode |
| WPF Controls | DiagramOrgChartBehavior.ExpandSubordinatesButtonMode |
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