[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.ColorPickerTagHelper

ColorPickerTagHelper Class

ITagHelper implementation for ColorPicker.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-color-picker")]
public class ColorPickerTagHelper : InputBaseTagHelper<ColorPicker>, ITagHelper, ITagHelperComponent, ITemplateTagHelper

Constructors

Name Description
ColorPickerTagHelper()

Properties

Name Description
Palette

Gets or Sets the Palette property.

ShowAlphaChannel

Configurates ShowAlphaChannel. Sets a value indicating whether the ColorPicker allows users to edit the color's alpha channel (transparency).

ShowColorString

Configurates ShowColorString. Sets a value indicating whether the ColorPicker shows a string representation of the current color.

Value

Gets or Sets the currently selected color.

ValueChanged

Configurates the OnClientValueChanged client event. Occurs after a new color is selected.