RadzenMarkdownEditorCodeBlock Class

A RadzenMarkdownEditor tool which wraps the selection in a fenced code block.

Inheritance

Object

ComponentBase

RadzenMarkdownEditorButtonBase

RadzenMarkdownEditorCodeBlock

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenMarkdownEditorButtonBase.Localize

RadzenMarkdownEditorButtonBase.OnClick

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 RadzenMarkdownEditorCodeBlock : RadzenMarkdownEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenMarkdownEditor @bind-Value=@markdown>
  <RadzenMarkdownEditorCodeBlock />
</RadzenMarkdownEditor>

Constructors

RadzenMarkdownEditorCodeBlockLink to this section

A RadzenMarkdownEditor tool which wraps the selection in a fenced code block.

Declaration
public RadzenMarkdownEditorCodeBlock()

Properties

CommandNameLink to this section

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

TitleLink to this section

The tooltip of the tool. Localized by default.

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

Methods

BuildRenderTreeLink to this section

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder
An error has occurred. This app may no longer respond until reloaded. Reload 🗙