Skip to main content
Tab

NavBarGroup.Visible Property

Gets or sets a value specifying the visibility of the group.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true if the group is visible; otherwise false.

Remarks

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

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

Note

If a group’s server Visible property is set to false, the group is not rendered into the web page at all, so it can’t be manipulated on the client side.

See Also