DiagramItem.CollapseButtonVisibilityMode Property
Gets or sets a value that indicates when the collapse button is displayed.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.1.dll
NuGet Package: DevExpress.Win.Diagram
Declaration
[DefaultValue(CollapseButtonVisibilityMode.HasSubordinates)]
[DiagramCategory(DiagramCategory.ExpandAndCollapse)]
public virtual CollapseButtonVisibilityMode CollapseButtonVisibilityMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
CollapseButtonVisibilityMode | HasSubordinates | 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