ColorGradientContrastToolSettingsBuilder

Methods

BackgroundColor(System.String)

Sets the background color for the contrast tool in the ColorGradient.

Parameters

value - System.String

The value for BackgroundColor

RETURNS

Returns the current ColorGradientContrastToolSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().ColorGradient()
                   .Name("colorGradient")
                   .ContrastTool(ct => ct.BackgroundColor("#ff0000"))
                )