Skip to main content
A newer version of this page is available. .
Tab

NavBarGroupEventArgs Class

Provides data for events which concern manipulations on groups.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public class NavBarGroupEventArgs :
    EventArgs

Remarks

Objects of the NavBarGroupEventArgs type are used as arguments for the ASPxNavBar.ExpandedChanged and ASPxNavBar.GroupDataBound events generated on the server side.

NavBarGroupEventArgs objects with proper settings are automatically created and passed to the corresponding event handlers.

Example

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