ColorGradient
Example
Razor
<kendo-colorgradient>
<contrast-tool />
<messages />
</kendo-colorgradient>
ChildTags
Tag Name | Details |
---|---|
contrast-tool | ColorGradientContrastToolSettingsTagHelper |
messages | ColorGradientMessagesSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
for | ModelExpression | An expression to be evaluated against the current model. |
format | ColorGradientFormat | Defines the available input formats in the gradient input editor. Only "hex" and "rgb" are valid values. |
formats | String[] | Defines the available input formats in the gradient input editor. Only "hex" and "rgb" are valid values. |
input | Boolean | Whether to render the input. |
on-change | String | Triggers when a new color has been selected. |
opacity | Boolean | Specifies whether we should display the opacity slider to allow selection of transparency. |
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 |