ColorTool
Class
Base class for the colorpicker tool.
Definition
Namespace:Telerik.Blazor.Components.Editor
Assembly:Telerik.Blazor.dll
Syntax:
C#
public class ColorTool : IEditorCommandTool, IEditorTool
Inheritance: objectColorTool
Derived Classes:
Implements:
Constructors
C#
public ColorTool()
Properties
Specifies the predefined set of colors for the colorpicker.
C#
public IEnumerable<string> Colors { get; set; }
The name of the editor command that will be invoked.
C#
public string CommandName { get; set; }
Implements:
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.
C#
public object Icon { get; set; }
The title attribute of the ColorPicker button.
C#
public string Title { get; set; }
Implements:
Event that fires when the new value is selected. Used for two-way binding.
C#
public EventCallback<string> ValueChanged { get; set; }
Specifies the format of the inline color style.
C#
public ColorFormat ValueFormat { get; set; }