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

DashboardConfigurator.CustomPalette Event

Provides the capability to substitute the default palette containing colors used to paint dashboard item elements.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.1.Web.dll


public event CustomPaletteWebEventHandler CustomPalette
Public Event CustomPalette As CustomPaletteWebEventHandler

Event Data

The CustomPalette event handler receives an argument of the CustomPaletteWebEventArgs type. The following properties provide information specific to this event.

Property Description
DashboardId Gets a dashboard identifier.
Palette Gets or sets a palette used to color dashboard item elements.



To learn how to use the DashboardConfigurator's API, see the Server-Side API Overview topic.

DevExpress Dashboard colors dashboard item elements (for instance, Chart series points or Pie segments) using a set of 20 unique colors from the default palette. You can access the default palette using the static DashboardPalette.Default field.

Handle the CustomPalette event to create a your own palette providing custom colors. To do this, create and initialize the DashboardPalette class instance and assign the resulting object to the CustomPaletteWebEventArgs.Palette event parameter.

See Also