Table of Contents

Class RadzenHtmlEditorButtonBase

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

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

string

Editor

The RadzenHtmlEditor component which this tool is part of.

[CascadingParameter]
public RadzenHtmlEditor Editor { get; set; }

Property Value

RadzenHtmlEditor

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

string

Methods

Dispose()

IDisposable implementation.

public void Dispose()

OnClick()

Handles the click event of the button. Executes the command.

protected virtual Task OnClick()

Returns

Task

OnInitialized()

protected override void OnInitialized()