Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarControl.GroupCollapsing Event

Occurs when a group is about to be collapsed.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public event NavBarGroupCancelEventHandler GroupCollapsing

#Event Data

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

#Remarks

This event occurs when a group is collapsed by the end-user or in code. The event parameter’s NavBarGroupEventArgs.Group property identifies the group being collapsed. Set the event’s Cancel parameter to true to forbid the collapse operation.

See Also