Skip to main content

RibbonPageGroup.ItemStyleSelector Property

Gets or sets an object that chooses a template used to visualize objects stored as elements in the RibbonPageGroup.ItemLinksSource collection. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v23.1.dll

NuGet Package: DevExpress.Wpf.Ribbon


public StyleSelector ItemStyleSelector { get; set; }

Property Value

Type Description

A StyleSelector descendant that applies a style based on custom logic.


The RibbonPageGroup.ItemStyle property defines a style applied to objects generated with the RibbonPageGroup.ItemLinksSource 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 ItemStyleSelector property.

The ItemStyleSelector property supports the MVVM design pattern. Refer the MVVM Support topic for more information.

See Also