LayoutGroup.Clear(Boolean) Method

Removes all items from the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public void Clear(
    bool disposeItemAndControls
)
Public Sub Clear(
    disposeItemAndControls As Boolean
)

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