RadzenMarkdownEditorFormatBlock Class

A RadzenMarkdownEditor tool which makes the selected paragraphs headings of a chosen level or normal text.

Inheritance

Object

ComponentBase

RadzenMarkdownEditorFormatBlock

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

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 RadzenMarkdownEditorFormatBlock : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

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

Constructors

RadzenMarkdownEditorFormatBlockLink to this section

A RadzenMarkdownEditor tool which makes the selected paragraphs headings of a chosen level or normal text.

Declaration
public RadzenMarkdownEditorFormatBlock()

Properties

EditorLink to this section

The RadzenMarkdownEditor this tool belongs to.

Declaration
public RadzenMarkdownEditor Editor { get; set; }
Property Value
Type Description
RadzenMarkdownEditorThe RadzenMarkdownEditor this tool belongs to.

Heading1TextLink to this section

The text of the level 1 heading item. Set to "Heading 1" by default.

Declaration
public string Heading1Text { get; set; }
Property Value
Type Description
stringThe text of the level 1 heading item. Set to "Heading 1" by default.

Heading2TextLink to this section

The text of the level 2 heading item. Set to "Heading 2" by default.

Declaration
public string Heading2Text { get; set; }
Property Value
Type Description
stringThe text of the level 2 heading item. Set to "Heading 2" by default.

Heading3TextLink to this section

The text of the level 3 heading item. Set to "Heading 3" by default.

Declaration
public string Heading3Text { get; set; }
Property Value
Type Description
stringThe text of the level 3 heading item. Set to "Heading 3" by default.

Heading4TextLink to this section

The text of the level 4 heading item. Set to "Heading 4" by default.

Declaration
public string Heading4Text { get; set; }
Property Value
Type Description
stringThe text of the level 4 heading item. Set to "Heading 4" by default.

Heading5TextLink to this section

The text of the level 5 heading item. Set to "Heading 5" by default.

Declaration
public string Heading5Text { get; set; }
Property Value
Type Description
stringThe text of the level 5 heading item. Set to "Heading 5" by default.

Heading6TextLink to this section

The text of the level 6 heading item. Set to "Heading 6" by default.

Declaration
public string Heading6Text { get; set; }
Property Value
Type Description
stringThe text of the level 6 heading item. Set to "Heading 6" by default.

NormalTextLink to this section

The text of the normal paragraph item. Set to "Normal" by default.

Declaration
public string NormalText { get; set; }
Property Value
Type Description
stringThe text of the normal paragraph item. Set to "Normal" by default.

PlaceholderLink to this section

The placeholder displayed when no paragraph or heading is selected. Set to "Format block" by default.

Declaration
public string Placeholder { get; set; }
Property Value
Type Description
stringThe placeholder displayed when no paragraph or heading is selected. Set to "Format block" by default.

TitleLink to this section

The tooltip of the tool. Set to "Text style" by default.

Declaration
public string Title { get; set; }
Property Value
Type Description
stringThe tooltip of the tool. Set to "Text style" by default.

Methods

BuildRenderTreeLink to this section

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

DisposeLink to this section

Declaration
public void Dispose()

OnInitializedLink to this section

Declaration
protected override void OnInitialized()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙