Back to Devexpress

DiagramOrgChartBehavior.ExpandSubordinatesButtonMode Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramorgchartbehavior-b450daba.md

latest2.0 KB
Original Source

DiagramOrgChartBehavior.ExpandSubordinatesButtonMode Property

Gets or sets the display mode of the expand/collapse button. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public ExpandSubordinatesButtonMode ExpandSubordinatesButtonMode { get; set; }
vb
Public Property ExpandSubordinatesButtonMode As ExpandSubordinatesButtonMode

Property Value

TypeDescription
ExpandSubordinatesButtonMode

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

|

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.

|

See Also

Generate Diagrams from Hierarchical Data

DiagramOrgChartBehavior Class

DiagramOrgChartBehavior Members

DevExpress.Xpf.Diagram Namespace