Skip to main content

LayoutControlItem.ContentVisible Property

Gets or sets whether the layout item’s contents are visible.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public virtual bool ContentVisible { get; set; }

Property Value

Type Default Description
Boolean true

true if the layout item’s contents are visible; otherwise, false.


The Layout Control manages the visibility of controls embedded in layout items. Do not use an embedded control’s Visible property to specify its visibility. If you wish to hide a layout item or its control, use the item’s properties and methods instead.

The ContentVisible property specifies the visibility of the item’s contents (embedded control, text label, and image). When you hide the item’s contents, the item retains its size and position. It is displayed as an empty rectangle.

For more information on how you can control the visibility of layout items, see the following help topic: BaseLayoutItem.Visibility.

See Also