FlatColorPickerContrastToolSettingsBuilder

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 FlatColorPickerContrastToolSettingsBuilder instance.

Example

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