ColorGradient

Example

Razor
<kendo-colorgradient>
    <contrast-tool />
    <messages />
</kendo-colorgradient>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
forModelExpressionAn expression to be evaluated against the current model.
formatColorGradientFormatDefines the available input formats in the gradient input editor. Only "hex" and "rgb" are valid values.
formatsString[]Defines the available input formats in the gradient input editor. Only "hex" and "rgb" are valid values.
inputBooleanWhether to render the input.
on-changeStringTriggers when a new color has been selected.
opacityBooleanSpecifies whether we should display the opacity slider to allow selection of transparency.
script-attributesIDictionary<String,Object>
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-moduleBoolean
has-client-componentBoolean
sanitize-idBoolean
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support