LayoutControl.HideItem(BaseLayoutItem) Method

Hides the specified layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public void HideItem(
    BaseLayoutItem item
)
Public Sub HideItem(
    item As BaseLayoutItem
)

Parameters

Name Type Description
item BaseLayoutItem

A BaseLayoutItem descendant which represents the layout item to hide.

Remarks

The LayoutControl stores its hidden items within the LayoutControl.HiddenItems collection. To verify whether an item is hidden use the BaseLayoutItem.IsHidden property.

End-users can hide and show layout items by moving them to or from the Customization Form via drag and drop. To show a hidden item use the BaseLayoutItem.RestoreFromCustomization method.

See Also