Class
CustomTool

References a custom tool definition created with EditorCustomTool for adding application-specific functionality. Use this to include custom tools in the Editor's Tools collection and position them within the toolbar. Custom tools enable extending the Editor with business-specific operations, integrations, or specialized editing features. The tool's rendering and behavior are defined separately in EditorCustomTool components.

Definition

Namespace:Telerik.Blazor.Components.Editor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class CustomTool : IEditorTool

Inheritance: objectCustomTool

Implements: IEditorTool

Constructors

CustomTool()

Declaration

cs-api-definition
public CustomTool()

CustomTool(string)

Declaration

cs-api-definition
public CustomTool(string name)

Parameters

name

string

Properties

Name

Sets the unique name that identifies the corresponding EditorCustomTool component. This name must match the Name property to link the tool reference to its implementation. Use descriptive names like "SaveDraft", "InsertTemplate", or "CustomFormat" for clarity. Required to establish the connection between toolbar position and custom tool rendering.

Declaration

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

Property Value

string