LayoutGroup.Clear(Boolean) Method

Removes all items from the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v21.1.dll


public void Clear(
    bool disposeItemAndControls


Name Type Description
disposeItemAndControls Boolean

true, to release all resources; otherwise false.


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