New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the ColorPickerMessagesSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ColorPickerMessagesSettingsBuilder

Inheritance: objectColorPickerMessagesSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ColorPickerMessagesSettingsBuilder(ColorPickerMessagesSettings settings)
Parameters:settingsColorPickerMessagesSettings

Methods

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

C#
public ColorPickerMessagesSettingsBuilder Alpha(string value)
Parameters:valuestring

The value that configures the alpha.

Returns:

ColorPickerMessagesSettingsBuilder

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

Allows customization of the "Apply" button text.

C#
public ColorPickerMessagesSettingsBuilder Apply(string value)
Parameters:valuestring

The value that configures the apply.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder Blue(string value)
Parameters:valuestring

The value that configures the blue.

Returns:

ColorPickerMessagesSettingsBuilder

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

Allows customization of the "Cancel" button text.

C#
public ColorPickerMessagesSettingsBuilder Cancel(string value)
Parameters:valuestring

The value that configures the cancel.

Returns:

ColorPickerMessagesSettingsBuilder

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

Allows customization of the Clear Color button label.

C#
public ColorPickerMessagesSettingsBuilder ClearColor(string value)
Parameters:valuestring

The value that configures the clearcolor.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder ContrastRatio(string value)
Parameters:valuestring

The value that configures the contrastratio.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder Fail(string value)
Parameters:valuestring

The value that configures the fail.

Returns:

ColorPickerMessagesSettingsBuilder

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

Allows customization of the Gradient view button.

C#
public ColorPickerMessagesSettingsBuilder Gradient(string value)
Parameters:valuestring

The value that configures the gradient.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder Green(string value)
Parameters:valuestring

The value that configures the green.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder Hex(string value)
Parameters:valuestring

The value that configures the hex.

Returns:

ColorPickerMessagesSettingsBuilder

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

Allows customization of the Palette view button.

C#
public ColorPickerMessagesSettingsBuilder Palette(string value)
Parameters:valuestring

The value that configures the palette.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder Pass(string value)
Parameters:valuestring

The value that configures the pass.

Returns:

ColorPickerMessagesSettingsBuilder

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

Overrides the messages.hex property. Legacy option.

C#
public ColorPickerMessagesSettingsBuilder PreviewInput(string value)
Parameters:valuestring

The value that configures the previewinput.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder Red(string value)
Parameters:valuestring

The value that configures the red.

Returns:

ColorPickerMessagesSettingsBuilder

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

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

C#
public ColorPickerMessagesSettingsBuilder ToggleFormat(string value)
Parameters:valuestring

The value that configures the toggleformat.

Returns:

ColorPickerMessagesSettingsBuilder

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