DashboardControlBase.ItemGroupStyleSelector Property

Gets or sets an object that returns a style based on custom logic. This is a dependency property.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Xpf.Dashboard.v21.1.dll


public StyleSelector ItemGroupStyleSelector { get; set; }

Property Value

Type Description

An object that applies styles based on custom logic.


Use the ItemGroupStyleSelector property to apply a style to the ItemGroupStyle property based on custom logic.

To accomplish this, take the following steps:

  • Implement a class that descends from the StyleSelector class.
  • Implement the SelectStyle method that returns the style based on custom logic.
  • Instantiate the class and assign it to the ItemGroupStyleSelector property.

The style specified by the ItemGroupStyleSelector property has priority over the style specified by the ItemGroupStyle property. If the ItemGroupStyleSelector property is null, the ItemGroupStyle property is in effect.

See Also