DiagramContainer.CanCollapse Property
Specifies whether the container displays the expand/collapse button. This is a dependency property.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v26.1.dll
NuGet Package: DevExpress.Wpf.Diagram
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Remarks
Set the AllowCollapseContainers property to true to display the expand/collapse button for all containers. The CanCollapse property allows you to control the collapse functionality for individual containers.
The image below illustrates a collapsible container.

See Also