FlatColorPickerMessagesSettingsBuilder
Methods
Apply(System.String)
Allows customization of "Apply" label.
Parameters
value - System.String
The value for Apply
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
Example
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Apply("Set"))
)
Cancel(System.String)
Allows customization of "Cancel" label.
Parameters
value - System.String
The value for Cancel
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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
The value for ClearColor
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for ContrastRatio
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Fail
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Pass
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
Example
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Pass("Pass"))
)
Gradient(System.String)
Allows customization of the Gradient view button.
Parameters
value - System.String
The value for Gradient
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
Example
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Gradient("Gradient view"))
)
Palette(System.String)
Allows customization of the Palette view button.
Parameters
value - System.String
The value for Palette
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for ToggleFormat
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Red
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Green
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Blue
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Alpha
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
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 for Hex
RETURNS
Returns the current FlatColorPickerMessagesSettingsBuilder instance.
Example
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Hex("HEX"))
)