Color Preset
ColorPreset is an enum that represent all built-in palettes.
You can use it to set the Palette property of RadColorPaletteView or HeaderPalette/StandardPalette/MainPalette properties of the RadColorSelector.
public enum ColorPreset
{
None,
Default,
Standard,
Grayscale,
Web216,
ReallyWebSafe,
// MS word named presets below
Office,
Apex,
Aspect,
Civic,
Concourse,
Equity,
Flow,
Foundry,
Median,
Metro,
Module,
Opulent,
Oriel,
Origin,
Paper,
Solstice,
Technic,
Trek,
Urban,
Verve
}
<telerik:RadColorPaletteView Palette="Office" />
<telerik:RadColorSelector MainPalette="Office" />
RadColorPaletteView colorPaletteView = new RadColorPaletteView();
colorPaletteView.Palette = ColorPreset.Office;
RadColorSelector colorSelector = new RadColorSelector();
colorSelector.MainPalette = ColorPreset.Office;
Dim colorPaletteView As New RadColorPaletteView()
colorPaletteView.Palette = ColorPreset.Office
Dim colorSelector As New RadColorSelector()
colorSelector.MainPalette = ColorPreset.Office
Predefined Palettes Preview
This section describes all predefined palettes (ColorPresets) provided in the RadColorPicker suite
Default
Standard
Grayscale
Web216
ReallyWebSafe
Office
Apex
Aspect
Civic
Concourse
Equity
Flow
Foundry
Median
Metro
Module
Opulent
Oriel
Origin
Paper
Solstice
Technique
Trek
Urban
Verve