Base class for RadzenMarkdownEditor toolbar tools.
Object
ComponentBase
RadzenMarkdownEditorHorizontalRule
RadzenMarkdownEditorOrderedList
RadzenMarkdownEditorStrikethrough
RadzenMarkdownEditorTableCommandButton
IComponent
IHandleEvent
IHandleAfterRender
ComponentBase.BuildRenderTree
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.OnAfterRenderAsync
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.SetParametersAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public abstract class RadzenMarkdownEditorButtonBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderBase class for RadzenMarkdownEditor toolbar tools.
protected RadzenMarkdownEditorButtonBase()The command this tool executes. One of MarkdownEditorCommands.
protected string CommandName { get; }
| Type | Description |
|---|---|
| string | The command this tool executes. One of MarkdownEditorCommands. |
The RadzenMarkdownEditor this tool belongs to.
public RadzenMarkdownEditor Editor { get; set; }
| Type | Description |
|---|---|
| RadzenMarkdownEditor | The RadzenMarkdownEditor this tool belongs to. |
The keyboard shortcut of this tool, e.g. Ctrl+B. Only Ctrl/Cmd combinations are supported, e.g. Ctrl+B (Cmd on macOS).
public string Shortcut { get; set; }
| Type | Description |
|---|---|
| string | The keyboard shortcut of this tool, e.g. Ctrl+B. Only Ctrl/Cmd combinations are supported, e.g. Ctrl+B (Cmd on macOS). |
Returns the localized string for key using the editor's UI culture.
protected string Localize(string key)
| Type | Name | Description |
|---|---|---|
| string | key |
| Type | Description |
|---|---|
| string |
Executes CommandName on the editor.
protected virtual Task OnClick()
| Type | Description |
|---|---|
| Task |