DiagramControl.SetContainersIsCollapsed(IEnumerable<DiagramContainer>, Boolean) Method

Expands or collapses specified container items.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public void SetContainersIsCollapsed(
    IEnumerable<DiagramContainer> containers,
    bool isCollapsed
)
Public Sub SetContainersIsCollapsed(
    containers As IEnumerable(Of DiagramContainer),
    isCollapsed As Boolean
)

Parameters

Name Type Description
containers IEnumerable<DiagramContainer>

A list of container items to expand/collapse.

isCollapsed Boolean

true, to collapse the specified container items; false, to expand.

Remarks

The DiagramContainer.IsCollapsed property specifies whether the container item is collapsed.

See Also