RibbonControl.RibbonStyleChanged Event

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Events")]
public event EventHandler<RibbonStyleChangedEventArgs> RibbonStyleChanged
<DXCategory("Events")>
Public Event RibbonStyleChanged As EventHandler(Of RibbonStyleChangedEventArgs)

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