ColorPaletteTagHelper

Example

Razor
<kendo-colorpalette>
    <tile-size />
</kendo-colorpalette>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
columnsDoubleThe number of columns to display. When you use the "websafe" palette, this will automatically default to 18.
forModelExpressionAn expression to be evaluated against the current model.
on-changeStringThe name of the JavaScript function that will handle the change event. Triggers when a new color has been changed.
paletteColorPickerPaletteDefines colors of the palette that can be used in the color picker.
palette-colorsString[]Defines colors of the palette that can be used in the color picker.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
sizeComponentSizeSets the size of the component.
valueStringSpecifies the initially selected color.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support