ColorGradientMessagesSettingsBuilder
Methods
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().ColorGradient()
.Name("colorGradient")
.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().ColorGradient()
.Name("colorGradient")
.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().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.Pass("Pass"))
)
ToggleFormat(System.String)
Allows customization of the toggle format button's title in the input editor.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.ToggleFormat("Change format"))
)
Red(System.String)
Allows customization of the rgb's red input's aria-label in the input editor.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.Red("Red"))
)
Green(System.String)
Allows customization of the rgb's green input's aria-label in the input editor.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.Green("Green"))
)
Blue(System.String)
Allows customization of the rgb's blue input's aria-label in the input editor.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.Blue("Blue"))
)
Alpha(System.String)
Allows customization of the rgb's alpha input's aria-label in the input editor.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.Alpha("Alpha"))
)
Hex(System.String)
Allows customization of the hex input's aria-label in the input editor.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().ColorGradient()
.Name("colorGradient")
.Messages(msg => msg.Hex("HEX"))
)