New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.FlatColorPicker

Kendo UI FlatColorPicker component

Fields

urlGenerator

The URL generator.

Properties

Palette

Defines the palettes that can be used in the color picker.

Opacity

Specifies whether we should display the opacity slider to allow selection of transparency.

Buttons

Specifies whether the widget should display the Apply / Cancel buttons.

Columns

The number of columns to show in the palette. Also defines the width of the FlatColorPicker.

ContrastTool

Enables the contrast tool in the ColorGradient.

Format

Sets the default input format in the gradient input editor.

Input

Whether to render the input in ColorGradient component.

Value

Specifies the initially selected color.

Preview

Specifies whether a selected and previous color are displayed for color comparison. with autoupdate set to true both selected and previous colors will be updated.

Autoupdate

Specifies whether the UI should be updated while the user is typing in the input field, whenever a valid color can be parsed. If you passfalse for this, the widget will update only when ENTER is pressed.

Messages

Allows customization of "Apply" / "Cancel" labels.

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer System.IO.TextWriter

The TextWriter.

WriteHtml(System.Web.UI.HtmlTextWriter)

Writes the HTML.

Parameters

writer System.Web.UI.HtmlTextWriter

The HtmlTextWriter.

In this article
Not finding the help you need?