[]
Defines a builder to configurate ColorPicker.
public class ColorPickerBuilder : InputBaseBuilder<ColorPicker, ColorPickerBuilder>, IHtmlString
Name | Description |
---|---|
ColorPickerBuilder(ColorPicker) | Creates one ColorPickerBuilder instance to configurate |
Name | Description |
---|---|
OnClientValueChanged(string) | Configurates the OnClientValueChanged client event. Occurs after a new color is selected. |
Palette(List<Color>) | Sets the Palette property. |
Palette(params Color[]) | Sets the Palette property. |
ShowAlphaChannel(bool) | Configurates ShowAlphaChannel. Sets a value indicating whether the ColorPicker allows users to edit the color's alpha channel (transparency). |
ShowColorString(bool) | Configurates ShowColorString. Sets a value indicating whether the ColorPicker shows a string representation of the current color. |
Value(Color) | Sets the currently selected color. |