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

Defines the fluent API for configuring FlatColorPickerMessagesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FlatColorPickerMessagesSettingsBuilder

Inheritance: objectFlatColorPickerMessagesSettingsBuilder

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

Constructors

FlatColorPickerMessagesSettingsBuilder method.

C#
public FlatColorPickerMessagesSettingsBuilder(FlatColorPickerMessagesSettings container)
Parameters:containerFlatColorPickerMessagesSettings

Properties

Gets the settings being configured.

C#
protected FlatColorPickerMessagesSettings Container { get; }

Methods

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

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

The value for Alpha

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Alpha("Alpha"))
)

Allows customization of "Apply" label.

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

The value for Apply

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Apply("Set"))
)

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

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

The value for Blue

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Blue("Blue"))
)

Allows customization of "Cancel" label.

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

The value for Cancel

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Cancel("Cancel"))
)

Allows customization of the Clear Color button label.

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

The value for ClearColor

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.ClearColor("Clear color"))
)

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

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

The value for ContrastRatio

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.ContrastRatio("Contrast ratio"))
)

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

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

The value for Fail

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Fail("Fail"))
)

Allows customization of the Gradient view button.

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

The value for Gradient

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Gradient("Gradient view"))
)

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

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

The value for Green

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Green("Green"))
)

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

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

The value for Hex

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Hex("HEX"))
)

Allows customization of the Palette view button.

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

The value for Palette

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Palette("Palette view"))
)

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

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

The value for Pass

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Pass("Pass"))
)

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

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

The value for Red

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.Red("Red"))
)

Allows customization of the toggle format button's aria-label in the Gradient's input editor.

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

The value for ToggleFormat

Returns:

FlatColorPickerMessagesSettingsBuilder

Returns the current FlatColorPickerMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().FlatColorPicker()
.Name("flatColorPicker")
.Messages(msg => msg.ToggleFormat("Toggle format"))
)