RibbonStatusBarControl.RightItemStyleSelector Property
Gets or sets an object that chooses a style applied to objects generated with the RibbonStatusBarControl.RightItemLinksSource collection. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.2.dll
NuGet Package: DevExpress.Wpf.Ribbon
#Declaration
public StyleSelector RightItemStyleSelector { get; set; }
#Property Value
Type | Description |
---|---|
Style |
A Style |
#Remarks
The RibbonStatusBarControl.RightItemStyle property defines a style applied to objects generated with the RibbonStatusBarControl.RightItemLinksSource collection. If you have more than one style, you can implement custom logic to choose the required style. To do this, derive from the StyleSelector class, implement the SelectStyle method that returns the style which meets the required condition, and assign it to the RightItemStyleSelector property.
The RightItemStyleSelector property supports the MVVM design pattern. Refer the MVVM Support topic for more information.