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

Defines the fluent API for configuring ColorPickerMessagesSettings

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

ColorPickerMessagesSettingsBuilder method.

C#
public ColorPickerMessagesSettingsBuilder(ColorPickerMessagesSettings container)
Parameters:containerColorPickerMessagesSettings

Properties

Gets the settings being configured.

C#
protected ColorPickerMessagesSettings Container { get; }

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 for Alpha

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Apply

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Blue

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Cancel

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for ClearColor

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for ContrastRatio

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Fail

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Gradient

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Green

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Hex

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Palette

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Pass

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for PreviewInput

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for Red

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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 for ToggleFormat

Returns:

ColorPickerMessagesSettingsBuilder

Returns the current ColorPickerMessagesSettingsBuilder instance.

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