Class
EditorCustomTool

The class for the Custom Tools in the Editor.

Definition

Constructors

EditorCustomTool()

Declaration

cs-api-definition
public EditorCustomTool()

Properties

ChildContent

Contains the tool rendering.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Implements IEditorCustomToolRendering.ChildContent

Name

Defines the tool name that is associated to the tool rendering. Used to add the custom tool to the toolbar. Required.

Declaration

cs-api-definition
[Parameter]
public string Name { get; set; }

Property Value

string

Implements IEditorCustomToolRendering.Name

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()