Skip to main content
Tab

LayoutItemBase.ClientVisible Property

Gets or sets a value that specifies the layout item’s initial visibility state on the client.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public virtual bool ClientVisible { get; set; }

Property Value

Type Default Description
Boolean true

true to make a layout item initially displayed on the client; false to render the item into the control, but make it initially hidden on the client side.

Remarks

Use the ClientVisible property to define a layout item’s initial visibility state. The item’s visibility can then be dynamically changed on the client side using the ASPxClientLayoutItem.SetVisible method.

Note

If an item’s server LayoutItemBase.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClientVisible property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also