MenuItem.ClientVisible Property
Gets or sets a value that specifies the menu item’s initial visibility state on the client.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Remarks
Use the ClientVisible property to define an item’s initial visibility state. The item’s visibility can then be dynamically changed on the client side using the ASPxClientMenuItem.SetVisible method.
HeaderMenu.Items.FindByName("Item").ClientVisible = false;
Note
If an item’s server MenuItem.Visible property is set to false, the item is not rendered into the web page at all, so it can’t be manipulated on the client side.
See Also