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

FlatColorPicker Views

The FlatColorPicker is a component with a new and modern design. One of the available features is the views configuration. It allows you to choose between a gradient and a palette view. You can also choose which the default view would be through the view option.

      .Events(ev => ev.Change("select"))
      .Views(new string[] {"gradient", "palette"})
      .HtmlAttributes(new { @class = "picker" })
@addTagHelper *, Kendo.Mvc
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

    string[] views = new string[] { "gradient", "palette" };

<kendo-flatcolorpicker name="tail" value="#000" on-change="select" preview="false" class="picker"
 view="palette" views="views">

See Also

In this article