RadzenMarkdownEditorTableCommandButton Class

A RadzenMarkdownEditor tool which executes a table command at the caret. Enabled only when the caret is inside a table.

Inheritance

Object

ComponentBase

RadzenMarkdownEditorButtonBase

RadzenMarkdownEditorTableCommandButton

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenMarkdownEditorButtonBase.Localize

RadzenMarkdownEditorButtonBase.OnInitialized

RadzenMarkdownEditorButtonBase.Dispose

RadzenMarkdownEditorButtonBase.Editor

RadzenMarkdownEditorButtonBase.Shortcut

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

Syntax

public class RadzenMarkdownEditorTableCommandButton : RadzenMarkdownEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenMarkdownEditor @bind-Value=@markdown>
  <RadzenMarkdownEditorTableCommandButton TableCommand="@MarkdownEditorCommands.TableRowAfter" Icon="south" Title="Insert row below" />
</RadzenMarkdownEditor>

Constructors

RadzenMarkdownEditorTableCommandButtonLink to this section

A RadzenMarkdownEditor tool which executes a table command at the caret. Enabled only when the caret is inside a table.

Declaration
public RadzenMarkdownEditorTableCommandButton()

Properties

CommandNameLink to this section

Declaration
protected string CommandName { get; }
Property Value
Type Description
string

IconLink to this section

The icon of the tool.

Declaration
public string Icon { get; set; }
Property Value
Type Description
stringThe icon of the tool.

TableCommandLink to this section

The table command to execute. One of the Table commands of MarkdownEditorCommands.

Declaration
public string TableCommand { get; set; }
Property Value
Type Description
stringThe table command to execute. One of the Table commands of MarkdownEditorCommands.

TitleLink to this section

The tooltip of the tool.

Declaration
public string Title { get; set; }
Property Value
Type Description
stringThe tooltip of the tool.

ValueLink to this section

The command value. The alignment (left, center, right or none) for TableAlign.

Declaration
public string Value { get; set; }
Property Value
Type Description
stringThe command value. The alignment (left, center, right or none) for TableAlign.

Methods

BuildRenderTreeLink to this section

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

OnClickLink to this section

Declaration
protected override Task OnClick()
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙