Skip to main content

NavBarControl.GroupExpanding Event

Occurs when a group is about to be expanded.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public event NavBarGroupCancelEventHandler GroupExpanding

Event Data

The GroupExpanding event's data class is DevExpress.XtraNavBar.NavBarGroupCancelEventArgs.

Remarks

This event occurs before a group is expanded. The event parameter’s NavBarGroupEventArgs.Group property identifies the group being expanded. Set the event’s Cancel parameter to true to forbid the expand operation.

See Also