Skip to main content
Tab

NavBarGroupEventArgs.Group Property

Gets a group for which the event is fired.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public NavBarGroup Group { get; }

Property Value

Type Description
NavBarGroup

A NavBarGroup object representing the group for which the event is raised.

Remarks

Note

Refer to the ASPxNavBar - Server-Side API online demo to get the whole code sample.

protected void ASPxNavBar1_HeaderClick(object sender, NavBarGroupCancelEventArgs e) {
    EventMonitor.TraceEvent(sender, e, "HeaderClick");
    ddlItems.Value = e.Group.Name;

    ChangeCheckBoxLabel();
    cbEnable.Checked = e.Group.Enabled;
    cbVisible.Checked = e.Group.Visible;
    cbSelect.Checked = !e.Group.Expanded;
}
...
See Also