Skip to main content

NavBarControl.GroupCollapsing Event

Occurs when a group is about to be collapsed.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

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

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