Skip to main content

LayoutControl.Clear(Boolean, Boolean) Method

Clears items, allowing hidden items to be removed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

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