[]
The ColorPicker control allows users to select a color by clicking on panels to adjust color channels (hue, saturation, brightness, alpha).
public class ColorPicker : InputBase, IHtmlString, ITemplate
Name | Description |
---|---|
ColorPicker(HtmlHelper, string) | Creates one ColorPicker instance. |
Name | Description |
---|---|
OnClientValueChanged | Occurs after a new color is selected. |
Palette | Gets or sets an array that contains the colors in the palette. |
ShowAlphaChannel | Gets or sets a value indicating whether the ColorPicker allows users to edit the color's alpha channel (transparency). |
ShowColorString | Gets or sets a value indicating whether the ColorPicker shows a string representation of the current color. |
Value | Gets or sets the currently selected color. |