Table of Contents

Class RadzenHtmlEditorLink

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

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

public class RadzenHtmlEditorLink : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
RadzenHtmlEditorLink
Implements
Inherited Members
<RadzenHtmlEditor @bind-Value=@html>
 <RadzenHtmlEditorLink />
</RadzenHtmlEdito>
@code {
  string html = "@lt;strong>Hello</strong> world!";
}

Constructors

public RadzenHtmlEditorLink()

Properties

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

[Parameter]
public string CancelText { get; set; }

Property Value

string

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

[Parameter]
public string LinkText { get; set; }

Property Value

string

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

[Parameter]
public string OkText { get; set; }

Property Value

string

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

[Parameter]
public string OpenInNewWindowText { get; set; }

Property Value

string

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

[Parameter]
public override string Shortcut { get; set; }

Property Value

string

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

[Parameter]
public string Title { get; set; }

Property Value

string

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

[Parameter]
public string UrlText { get; set; }

Property Value

string

Methods

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Handles the click event of the button. Executes the command.

protected override Task OnClick()

Returns

Task