Class RadzenHtmlEditorButtonBase
Base class that RadzenHtmlEditor color picker tools inherit from.
public abstract class RadzenHtmlEditorButtonBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
RadzenHtmlEditorButtonBase
- Implements
- Derived
- Inherited Members
Constructors
RadzenHtmlEditorButtonBase()
protected RadzenHtmlEditorButtonBase()
Properties
CommandName
Specifies the name of the command. It is available as CommandName when Execute is raised.
protected virtual string CommandName { get; }
Property Value
Editor
The RadzenHtmlEditor component which this tool is part of.
[CascadingParameter]
public RadzenHtmlEditor Editor { get; set; }
Property Value
Shortcut
Specifies the shortcut for the command. Can be in the form of "Ctrl+X"
or "Alt+Shift+Z"
.
[Parameter]
public virtual string Shortcut { get; set; }
Property Value
Methods
Dispose()
IDisposable implementation.
public void Dispose()
OnClick()
Handles the click event of the button. Executes the command.
protected virtual Task OnClick()
Returns
OnInitialized()
protected override void OnInitialized()