Skip to main content
A newer version of this page is available. .

LayoutControl.Clear(Boolean, Boolean) Method

Clears items, allowing hidden items to be removed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

public virtual void Clear(
    bool clearHiddenItems,
    bool disposeControls
)

Parameters

Name Type Description
clearHiddenItems Boolean

true to clear the LayoutControl.HiddenItems collection; otherwise, false.

disposeControls Boolean

true to dispose of controls associated with layout items; otherwise, false.

See Also