Skip to main content

RibbonControl.RibbonStyleChanged Event

Occurs each time the current RibbonControl‘s RibbonControl.RibbonStyle property value is changed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Events")]
public event EventHandler<RibbonStyleChangedEventArgs> RibbonStyleChanged

Event Data

The RibbonStyleChanged event's data class is DevExpress.XtraBars.Ribbon.RibbonStyleChangedEventArgs.

Remarks

The RibbonControl.RibbonStyle property specifies the style currently applied to the RibbonControl. Handle the RibbonStyleChanged event to respond to the RibbonControl‘s style change. For instance, you can assign either a BackstageViewControl or an ApplicationMenu object to the RibbonControl.ApplicationButtonDropDownControl property depending on the current Ribbon Control Style.

See Also