[]
Defines a builder to configurate InputColor.
public class InputColorBuilder : DropDownBuilder<InputColor, InputColorBuilder>, IHtmlString
| Name | Description |
|---|---|
| InputColorBuilder(InputColor) | Creates one InputColorBuilder instance to configurate |
| Name | Description |
|---|---|
| IsRequired(bool) | Configurates IsRequired. 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(string) | Configurates the OnClientInvalidInput client event. Occurs when invalid input is detected. |
| OnClientValueChanged(string) | Configurates the OnClientValueChanged client event. Occurs after a new color is selected. |
| Palette(List<Color>) | Configurates Palette. Sets an array that contains the colors in the palette. |
| Palette(params Color[]) | Configurates Palette. Sets an array that contains the colors in the palette. |
| 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 current color. |