RadialMenu.Expanding Event

Fires when the menu is about to be expanded.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Action")]
public event RadialMenuExpandingEventHandler Expanding
<DXCategory("Action")>
Public Event Expanding As RadialMenuExpandingEventHandler

Event Data

The Expanding event's data class is DevExpress.XtraBars.Ribbon.RadialMenuExpandingEventArgs.

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