ColorPaletteTagHelper
Example
Razor
<kendo-colorpalette>
<tile-size />
</kendo-colorpalette>
ChildTags
Tag Name | Details |
---|---|
tile-size | ColorPaletteTileSizeSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
columns | Double | The number of columns to display. When you use the "websafe" palette, this will automatically default to 18. |
for | ModelExpression | An expression to be evaluated against the current model. |
on-change | String | Triggers when a new color has been changed. |
palette | ColorPickerPalette | Defines colors of the palette that can be used in the color picker. |
palette-colors | String[] | Defines colors of the palette that can be used in the color picker. |
script-attributes | IDictionary<String,Object> | |
size | ComponentSize | Sets the size of the component. |
value | String | Specifies the initially selected color. |
is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
as-module | Boolean | |
has-client-component | Boolean | |
sanitize-id | Boolean |