ColorPickerMessagesSettingsBuilder

Methods

Apply(System.String)

Allows customization of the "Apply" button text.

Parameters

value - System.String

The value that configures the apply.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Apply("Apply"))
            )
             

Cancel(System.String)

Allows customization of the "Cancel" button text.

Parameters

value - System.String

The value that configures the cancel.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Cancel("Cancel"))
            )
             

ClearColor(System.String)

Allows customization of the Clear Color button label.

Parameters

value - System.String

The value that configures the clearcolor.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.ClearColor("ClearColor"))
            )
             

PreviewInput(System.String)

Overrides the messages.hex property. Legacy option.

Parameters

value - System.String

The value that configures the previewinput.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.PreviewInput("PreviewInput"))
            )
             

ContrastRatio(System.String)

Allows customization of the "Contrast ratio" text in the contrast tool.

Parameters

value - System.String

The value that configures the contrastratio.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.ContrastRatio("ContrastRatio"))
            )
             

Fail(System.String)

Allows customization of the "Fail" text in the contrast tool.

Parameters

value - System.String

The value that configures the fail.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Fail("Fail"))
            )
             

Pass(System.String)

Allows customization of the "Pass" text in the contrast tool.

Parameters

value - System.String

The value that configures the pass.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Pass("Pass"))
            )
             

Gradient(System.String)

Allows customization of the Gradient view button.

Parameters

value - System.String

The value that configures the gradient.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Gradient("Gradient"))
            )
             

Palette(System.String)

Allows customization of the Palette view button.

Parameters

value - System.String

The value that configures the palette.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Palette("Palette"))
            )
             

ToggleFormat(System.String)

Allows customization of the toggle format button's title in the Gradient's input editor.

Parameters

value - System.String

The value that configures the toggleformat.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.ToggleFormat("ToggleFormat"))
            )
             

Red(System.String)

Allows customization of the rgb's red input's aria-label in the Gradient's input editor.

Parameters

value - System.String

The value that configures the red.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Red("Red"))
            )
             

Green(System.String)

Allows customization of the rgb's green input's aria-label in the Gradient's input editor.

Parameters

value - System.String

The value that configures the green.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Green("Green"))
            )
             

Blue(System.String)

Allows customization of the rgb's blue input's aria-label in the Gradient's input editor.

Parameters

value - System.String

The value that configures the blue.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Blue("Blue"))
            )
             

Alpha(System.String)

Allows customization of the rgb's alpha input's aria-label in the Gradient's input editor.

Parameters

value - System.String

The value that configures the alpha.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Alpha("Alpha"))
            )
             

Hex(System.String)

Allows customization of the hex input's aria-label in the Gradient's input editor.

Parameters

value - System.String

The value that configures the hex.

Example

Razor
 
            @(Html.Kendo().ColorPicker()
                .Name("palette")
                .Views(new string[] { "palette"})
                .Messages(m => m.Hex("Hex"))
            )
             

AdaptiveTitle(System.String)

Allows customization of the title's text in the adaptive view of the component.

Parameters

value - System.String

The value that configures the adaptivetitle.