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