[]
        
(Showing Draft Content)

C1.Web.Mvc.ColorPicker

ColorPicker Class

The ColorPicker control allows users to select a color by clicking on panels to adjust color channels (hue, saturation, brightness, alpha).

Inheritance
ColorPicker
Implements
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public class ColorPicker : InputBase, IHtmlString, ITemplate

Constructors

Name Description
ColorPicker(HtmlHelper, string)

Creates one ColorPicker instance.

Properties

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.

Extension Methods