Skip to main content

LayoutControl.Clear(Boolean, Boolean) Method

Clears items, allowing hidden items to be removed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual void Clear(
    bool clearHiddenItems,
    bool disposeControls


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