Back to Devexpress

RibbonControl.RibbonStyleChanged Event

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-bf4de0d9.md

latest2.2 KB
Original Source

RibbonControl.RibbonStyleChanged Event

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

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event EventHandler<RibbonStyleChangedEventArgs> RibbonStyleChanged
vb
<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

RibbonStyle

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace