Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutGroup.Clear(Boolean) Method

Removes all items from the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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