Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Diagram

#Declaration

public ExpandSubordinatesButtonMode ExpandSubordinatesButtonMode { get; set; }

#Property Value

Type Description
ExpandSubordinatesButtonMode

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

Available values:

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.

See Also