Skip to main content

LayoutItemBase.Visible Property

Gets or sets a value specifying the visibility of the current layout item or group.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

NuGet Package: DevExpress.Web


public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true if the layout item or group is visible; otherwise false.


Use the Visible property of layout items or groups to dynamically change the content of the ASPxFormLayout control. This property enables you to hide and display specific layout items when certain conditions are met.

Note that the Visible and LayoutItemBase.VisibleIndex properties are interdependent. A false value assigned to the Visible property sets the LayoutItemBase.VisibleIndex property to -1. Setting the Visible property back to true makes the LayoutItemBase.VisibleIndex property set to the non-negative value it has previously.


If an item’s server Visible property is set to false, the layout item is not rendered on the web page, so it can’t be manipulated on the client side.

See Also