The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardControlBase.MapItemStyleSelector 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.v19.2.dll

Declaration

public StyleSelector MapItemStyleSelector { get; set; }
Public Property MapItemStyleSelector As StyleSelector

Property Value

Type Description
StyleSelector

An object that applies styles based on custom logic.

Remarks

Use the MapItemStyleSelector property to apply a style to the MapItemStyle 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 MapItemStyleSelector property.

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

See Also