Back to Devexpress

DiagramOrgChartController.ExpandSubordinatesButtonMode Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramorgchartcontroller-87aec8a4.md

latest2.3 KB
Original Source

DiagramOrgChartController.ExpandSubordinatesButtonMode Property

Gets or sets the display mode of the expand/collapse buttons.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DiagramCategory(DiagramCategory.Data)]
public virtual ExpandSubordinatesButtonMode ExpandSubordinatesButtonMode { get; set; }
vb
<DiagramCategory(DiagramCategory.Data)>
Public Overridable Property ExpandSubordinatesButtonMode As ExpandSubordinatesButtonMode

Property Value

TypeDescription
ExpandSubordinatesButtonMode

A ExpandSubordinatesButtonMode enumeration value that is the display mode of the expand/collapse buttons.

|

Available values:

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.

|

Remarks

To learn more, see Generating Organization Charts.

See Also

Generate Diagrams from Hierarchical Data

DiagramOrgChartController Class

DiagramOrgChartController Members

DevExpress.XtraDiagram Namespace