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

RadialMenu.Collapsing Event

Fires when the menu is about to be collapsed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Action")]
public event RadialMenuCollapsingEventHandler Collapsing

#Event Data

The Collapsing event's data class is DevExpress.XtraBars.Ribbon.RadialMenuCollapsingEventArgs.

#Remarks

The code below shows how to expand and collapse the menu without animation.

radialMenu.Expanding += RadialMenu_Expanding;
radialMenu.Collapsing += RadialMenu_Collapsing;
//...
private void RadialMenu_Collapsing(object sender, RadialMenuCollapsingEventArgs e) {
    e.Animated = false;
}
private void RadialMenu_Expanding(object sender, RadialMenuExpandingEventArgs e) {
    e.Animated = false;
}
See Also