FlatColorPickerMessagesSettingsBuilder
Methods
Apply(System.String)
Allows customization of the "Apply" button label.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Apply("Set"))
             )
             Cancel(System.String)
Allows customization of the "Cancel" button label.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Cancel("Cancel"))
             )
             ClearColor(System.String)
Allows customization of the "Clear Color" button label.
Parameters
value - System.String
TThe value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.ClearColor("Clear color"))
             )
             ContrastRatio(System.String)
Allows customization of the "Contrast ratio" text in the contrast tool.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.ContrastRatio("Contrast ratio"))
             )
             Fail(System.String)
Allows customization of the "Fail" text in the contrast tool.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Fail("Fail"))
             )
             Pass(System.String)
Allows customization of the "Pass" text in the contrast tool.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Pass("Pass"))
             )
             Gradient(System.String)
Allows customization of the "Gradient view" button label.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Gradient("Gradient view"))
             )
             Palette(System.String)
Allows customization of the "Palette view" button label.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Palette("Palette view"))
             )
             ToggleFormat(System.String)
Allows customization of the toggle format button's aria-label in the Gradient's input editor.
Parameters
value - System.String
The value that sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.ToggleFormat("Toggle format"))
             )
             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 sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.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 sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.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 sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.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 sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.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 sets the message text.
Example
 
             @(Html.Kendo().FlatColorPicker()
                .Name("flatColorPicker")
                .Messages(msg => msg.Hex("HEX"))
             )