LayoutControl.Clear(Boolean, Boolean) Method

Clears items, allowing hidden items to be removed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll


public virtual void Clear(
    bool clearHiddenItems,
    bool disposeControls
Public Overridable Sub Clear(
    clearHiddenItems As Boolean,
    disposeControls As Boolean


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