BootstrapWebClientUIWidgetEx.Palette Property

Sets the palette to be used for colorizing widgets and their elements.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.2.dll

Declaration

[DefaultValue(VizPalette.Material)]
public virtual VizPalette Palette { get; set; }
<DefaultValue(VizPalette.Material)>
Public Overridable Property Palette As VizPalette

Property Value

Type Default Description
VizPalette

Material

One of the VizPalette enumeration values.

Remarks

The table below demonstrates predefined palettes available through the VizPalette enumeration.

The VizPalette value The widget
Bright BootstrapCharts_BrightPallete
Carmine BootstrapCharts_CarminePallete
DarkMoon BootstrapCharts_DarkMoonPallete
DarkViolet BootstrapCharts_DarkVioletPallete
GreenMist BootstrapCharts_GreenMistPallete
HarmonyLight BootstrapCharts_HarmonyLightPallete
Material BootstrapCharts_MaterialPallete
Ocean BootstrapCharts_OceanPallete
Office BootstrapCharts_OfficePallete
Pastel BootstrapCharts_PastelPallete
Soft BootstrapCharts_SoftPallete
SoftBlue BootstrapCharts_SoftBluePallete
SoftPastel BootstrapCharts_SoftPastelPallete
Vintage BootstrapCharts_VintagePallete
Violet BootstrapCharts_VioletPallete

Along with the predefined palettes, you can set a custom widget palette using the BootstrapWebClientUIWidgetEx.CustomPalette property. For this purpose, assign an array of colors to this property.

See Also