ClassButtonTool
Class
Base class for Editor tools that are buttons.
Definition
Namespace:Telerik.Blazor.Components.Editor
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public class ButtonTool : IEditorCommandTool, IEditorTool
Inheritance: objectButtonTool
Derived Classes:
Implements:
Constructors
ButtonTool()
Declaration
cs-api-definition
public ButtonTool()
Properties
ChildContent
The text (or other content) of the button.
Declaration
cs-api-definition
public RenderFragment ChildContent { get; set; }
Property Value
Class
CSS class.
CommandName
The name of the editor command that will be invoked.
Declaration
cs-api-definition
public string CommandName { get; set; }
Property Value
Implements
Enabled
Whether the button is enabled. True by default.
Icon
Specifies the icon rendered in the button. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.
OnClick
Fires when the button is clicked.
Declaration
cs-api-definition
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value