Class ColorTool
Base class for the colorpicker tool.
Inheritance
Namespace: Telerik.Blazor.Components.Editor
Assembly: Telerik.Blazor.dll
Syntax
public class ColorTool : Object, IEditorInputTool, IEditorCommandTool, IEditorTool
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
System.Collections.Generic.IEnumerable<System.String>
|
CommandName
The name of the editor command that will be invoked.
Declaration
public string CommandName { get; set; }
Property Value
System.String
|
Implements
Enabled
The value that will be passed to the command.
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
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.
Declaration
public object Icon { get; set; }
Property Value
System.Object
|
Title
The title attribute of the ColorPicker button.
Declaration
public string Title { get; set; }
Property Value
System.String
|
Implements
Value
The value that will be passed to the command.
Declaration
public string Value { get; set; }
Property Value
System.String
|
ValueChanged
Event that fires when the new value is selected. Used for two-way binding.
Declaration
public EventCallback<string> ValueChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.String>
|