New to Telerik UI for BlazorStart a free 30-day trial

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:

C#
public class CustomTool : IEditorTool

Inheritance: objectCustomTool

Implements: IEditorTool

Constructors

C#
public CustomTool()
C#
public CustomTool(string name)
Parameters:namestring

Properties

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.

C#
public string Name { get; set; }