RadzenHtmlEditorLink Class

A tool which creates links from the selection of a RadzenHtmlEditor.

Inheritance

Object

ComponentBase

RadzenHtmlEditorButtonBase

RadzenHtmlEditorLink

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenHtmlEditorButtonBase.OnInitialized

RadzenHtmlEditorButtonBase.Dispose

RadzenHtmlEditorButtonBase.Editor

RadzenHtmlEditorButtonBase.CommandName

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 RadzenHtmlEditorLink : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenHtmlEditor @bind-Value=@html>
 <RadzenHtmlEditorLink />
</RadzenHtmlEdito>
@code {
  string html = "@lt;strong>Hello</strong> world!";
}

Constructors

Properties

CancelTextlink

Specifies the text of button which cancels image insertion and closes the dialog. Set to "Cancel" by default.

Declaration
public string CancelText { get; set; }
Property Value
Type Description
stringSpecifies the text of button which cancels image insertion and closes the dialog. Set to "Cancel" by default.

LinkTextlink

Specifies the text of the label suggesting the user to change the text of the link. Set to "Text" by default.

Declaration
public string LinkText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label suggesting the user to change the text of the link. Set to "Text" by default.

OkTextlink

Specifies the text of button which inserts the image. Set to "OK" by default.

Declaration
public string OkText { get; set; }
Property Value
Type Description
stringSpecifies the text of button which inserts the image. Set to "OK" by default.

OpenInNewWindowTextlink

Specifies the text of the checkbox that opens the link in new window. Set to "Open in new window" by default.

Declaration
public string OpenInNewWindowText { get; set; }
Property Value
Type Description
stringSpecifies the text of the checkbox that opens the link in new window. Set to "Open in new window" by default.

Shortcutlink

Specifies the shortcut for the command. Set to "Ctrl+K" by default.

Declaration
public string Shortcut { get; set; }
Property Value
Type Description
stringSpecifies the shortcut for the command. Set to "Ctrl+K" by default.

Titlelink

Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Insert link" by default.

Declaration
public string Title { get; set; }
Property Value
Type Description
stringSpecifies the title (tooltip) displayed when the user hovers the tool. Set to "Insert link" by default.

UrlTextlink

Specifies the text of the label suggesting the user to enter a web address. Set to "Web address" by default.

Declaration
public string UrlText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label suggesting the user to enter a web address. Set to "Web address" by default.

Methods

BuildRenderTreelink

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

OnClicklink

Declaration
protected override Task OnClick()
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙