Skip to main content

LayoutGroup.Clear(Boolean) Method

Removes all items from the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

public void Clear(
    bool disposeItemAndControls
)

Parameters

Name Type Description
disposeItemAndControls Boolean

true, to release all resources; otherwise false.

Remarks

The Clear method removes all items (see LayoutGroup.Remove) from the current group. These items are stored in the LayoutGroup.Items collection. Set the disposeItemAndControls parameter to true to release all resources used by the items being removed.

See Also