[]
The InputColor control allows users to select colors by typing in HTML-supported color strings, or to pick colors from a drop-down that shows a ColorPicker control.
public class InputColor : DropDown, IHtmlString, ITemplate, IDropDown
Name | Description |
---|---|
InputColor(HtmlHelper, string) | Creates one InputColor instance. |
Name | Description |
---|---|
IsRequired | Gets or sets a value indicating whether the control value must be a color or whether it can be set to null (by deleting the content of the control). |
OnClientInvalidInput | Occurs when invalid input is detected. |
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 current color. |