aspnet-devexpress-dot-web-c677723f.md
Provides data for events which concern manipulations on groups.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public class NavBarGroupEventArgs :
EventArgs
Public Class NavBarGroupEventArgs
Inherits EventArgs
NavBarGroupEventArgs is the data class for the following events:
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.
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;
}
...
<dx:ASPxNavBar ID="ASPxNavBar1" runat="server" OnHeaderClick="ASPxNavBar1_HeaderClick" ...>
<Groups>
...
</Groups>
</dx:ASPxNavBar>
Object EventArgs NavBarGroupEventArgs NavBarGroupCancelEventArgs
BootstrapAccordionGroupEventArgs
BootstrapAccordionGroupCancelEventArgs
See Also