ClassColorTool
Base class for the colorpicker tool.
Definition
Namespace:Telerik.Blazor.Components.Editor
Assembly:Telerik.Blazor.dll
Syntax:
public class ColorTool : IEditorCommandTool, IEditorTool
Inheritance: objectColorTool
Derived Classes:
Implements:
Constructors
ColorTool()
Declaration
public ColorTool()
Properties
Colors
Specifies the predefined set of colors for the colorpicker.
Declaration
public IEnumerable<string> Colors { get; set; }
Property Value
CommandName
The name of the editor command that will be invoked.
Declaration
public string CommandName { get; set; }
Property Value
Implements
Enabled
The value that will be passed to the command.
Icon
Specifies the icon rendered in the colorpicker. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.
Title
The title attribute of the ColorPicker button.
Value
The value that will be passed to the command.
ValueChanged
Event that fires when the new value is selected. Used for two-way binding.
Declaration
public EventCallback<string> ValueChanged { get; set; }
Property Value
ValueFormat
Specifies the format of the inline color style.
Declaration
public ColorFormat ValueFormat { get; set; }
Property Value