Skip to main content

BaseLayoutItem.IsHidden Property

Gets whether the layout item is hidden.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

[Browsable(false)]
public bool IsHidden { get; }

Property Value

Type Description
Boolean

true if the layout item is hidden; otheriwse, false.

Remarks

Specific layout items can be hidden from the LayoutControl by calling either the BaseLayoutItem.HideToCustomization or LayoutControl.HideItem method. End-users can hide layout items to the Customization Form using drag and drop operations. When an item is hidden the IsHidden property returns true. Otherwise, this property returns false.

To access the hidden items use the LayoutControl.HiddenItems property.

Note

When layout items are hidden to the Customization Form, they do not retain their positions in the layout. Use the Visibility property to hide an item and preserve its position.

Empty space items, splitters, labels, and separators are automatically disposed off when they are moved to the Customization Form. You should recreate them.

See Also