ColorTool
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
public ColorTool()
Properties
Specifies the predefined set of colors for the colorpicker.
public IEnumerable<string> Colors { get; set; }
The name of the editor command that will be invoked.
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.
public object Icon { get; set; }
Specifies the SVG variant for Icon. When the value is null, empty, or unsupported, the icon's default SVG content is rendered. Font and custom CSS icons are unaffected.
public string IconVariant { get; set; }
The title attribute of the ColorPicker button.
public string Title { get; set; }
Implements:
Event that fires when the new value is selected. Used for two-way binding.
public EventCallback<string> ValueChanged { get; set; }
Specifies the format of the inline color style.
public ColorFormat ValueFormat { get; set; }