Skip to main content

BootstrapWebClientUIWidgetEx.Palette Property

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(VizPalette.Material)]
public virtual VizPalette Palette { get; set; }

Property Value

Type Default Description
VizPalette Material

One of the VizPalette enumeration values.

Available values:

Show 15 items
Name Description
SoftPastel

BootstrapCharts_SoftPastelPallete

HarmonyLight

BootstrapCharts_HarmonyLightPallete

Pastel

BootstrapCharts_PastelPallete

Bright

BootstrapCharts_BrightPallete

Soft

BootstrapCharts_SoftPallete

Ocean

BootstrapCharts_OceanPallete

Vintage

BootstrapCharts_VintagePallete

Violet

BootstrapCharts_VioletPallete

Carmine

BootstrapCharts_CarminePallete

DarkMoon

BootstrapCharts_DarkMoonPallete

SoftBlue

BootstrapCharts_SoftBluePallete

DarkViolet

BootstrapCharts_DarkVioletPallete

GreenMist

BootstrapCharts_GreenMistPallete

Office

BootstrapCharts_OfficePallete

Material

BootstrapCharts_MaterialPallete

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