Skip to main content

RadialMenu.Collapsing Event

Fires when the menu is about to be collapsed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

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