Class ButtonTool
Base class for Editor tools that are buttons.
Inheritance
Namespace: Telerik.Blazor.Components.Editor
Assembly: Telerik.Blazor.dll
Syntax
public class ButtonTool : Object, IEditorCommandTool, IEditorTool
Constructors
ButtonTool()
Declaration
public ButtonTool()
Properties
ChildContent
The text (or other content) of the button.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Class
CSS class.
Declaration
public string Class { get; set; }
Property Value
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
Whether the button is enabled. True by default.
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
Icon
Telerik font icon of the button.
Declaration
public string Icon { get; set; }
Property Value
System.String
|
IconClass
CSS class for a custom font icon.
Declaration
public string IconClass { get; set; }
Property Value
System.String
|
ImageUrl
URL to an image icon.
Declaration
public string ImageUrl { get; set; }
Property Value
System.String
|
OnClick
Fires when the button is clicked.
Declaration
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
|
SpriteClass
Class for a sprite icon.
Declaration
public string SpriteClass { get; set; }
Property Value
System.String
|
Title
The title attribute of the button.
Declaration
public string Title { get; set; }
Property Value
System.String
|