NavBarControl.GroupCollapsing Event

Occurs when a group is about to be collapsed.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll

Declaration

public event NavBarGroupCancelEventHandler GroupCollapsing
Public Event GroupCollapsing As NavBarGroupCancelEventHandler

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