BootstrapWebClientUIWidgetEx.Palette Property
In This Article
Sets the palette to be used for colorizing widgets and their elements.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
[DefaultValue(VizPalette.Material)]
public virtual VizPalette Palette { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Viz |
Material | One of the Viz |
Available values:
Show 15 items
Name | Description |
---|---|
Soft |
|
Harmony |
|
Pastel | |
Bright | |
Soft | |
Ocean | |
Vintage | |
Violet | |
Carmine | |
Dark |
|
Soft |
|
Dark |
|
Green |
|
Office | |
Material |
#Remarks
The table below demonstrates predefined palettes available through the VizPalette enumeration.
The Viz |
The widget |
---|---|
Bright | ![]() |
Carmine | ![]() |
Dark |
![]() |
Dark |
![]() |
Green |
![]() |
Harmony |
![]() |
Material | ![]() |
Ocean | ![]() |
Office | ![]() |
Pastel | ![]() |
Soft | ![]() |
Soft |
![]() |
Soft |
![]() |
Vintage | ![]() |
Violet | ![]() |
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