Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenHtmlEditorLink

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

    Inheritance
    object
    ComponentBase
    RadzenHtmlEditorButtonBase
    RadzenHtmlEditorLink
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.SetParametersAsync(ParameterView)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenHtmlEditorLink : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Examples
    <RadzenHtmlEditor @bind-Value=@html>
     <RadzenHtmlEditorLink />
    </RadzenHtmlEdito>
    @code {
      string html = "@lt;strong>Hello</strong> world!";
    }

    Constructors

    RadzenHtmlEditorLink()

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

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

    Properties

    CancelText

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

    Declaration
    [Parameter]
    public string CancelText { get; set; }
    Property Value
    Type Description
    string

    LinkText

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

    Declaration
    [Parameter]
    public string LinkText { get; set; }
    Property Value
    Type Description
    string

    OkText

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

    Declaration
    [Parameter]
    public string OkText { get; set; }
    Property Value
    Type Description
    string

    OpenInNewWindowText

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

    Declaration
    [Parameter]
    public string OpenInNewWindowText { get; set; }
    Property Value
    Type Description
    string

    Shortcut

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

    Declaration
    [Parameter]
    public override string Shortcut { get; set; }
    Property Value
    Type Description
    string
    Overrides
    Radzen.Blazor.RadzenHtmlEditorButtonBase.Shortcut

    Title

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

    Declaration
    [Parameter]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    UrlText

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

    Declaration
    [Parameter]
    public string UrlText { get; set; }
    Property Value
    Type Description
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

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

    OnClick()

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

    Declaration
    protected override Task OnClick()
    Returns
    Type Description
    Task
    Overrides
    Radzen.Blazor.RadzenHtmlEditorButtonBase.OnClick()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT