Skip to main content

DiagramItem.CollapseButtonVisibilityMode Property

Gets or sets a value that indicates when the collapse button is displayed. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public CollapseButtonVisibilityMode CollapseButtonVisibilityMode { get; set; }

Property Value

Type Description
CollapseButtonVisibilityMode

A CollapseButtonVisibilityMode enumeration value.

Available values:

Name Description
HasSubordinates

Collapse button is visible if a shape has subordinates.

Always

The collapse button is always visible.

Never

The collapse button is hidden.

Remarks

This property is only in effect if the DiagramItem.CanHideSubordinates property is set to true.

See Also