NavBarGroupEventArgs Class
In This Article
Provides data for events which concern manipulations on groups.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#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 ASPx
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;
}
...
#Inheritance
See Also