Tab

NavBarGroupEventArgs.Group Property

Gets a group for which the event is fired.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

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