Back to Devexpress

DxRichEdit.HyperlinkSettings Property

blazor-devexpress-dot-blazor-dot-richedit-dot-dxrichedit-f508c8a5.md

latest1.6 KB
Original Source

DxRichEdit.HyperlinkSettings Property

Allows you to access hyperlink settings.

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
[Parameter]
public RenderFragment HyperlinkSettings { get; set; }

Property Value

TypeDescription
RenderFragment

A template that configures hyperlink settings.

|

Remarks

The DxRichEdit component uses a list of allowed URI schemes to prohibit hyperlink URLs that may contain malicious code. This list checks a hyperlink’s URL when it is clicked. The link is opened if the URI scheme appears in the list. The default list contains the following schemes: http, https, mailto, and tel.

Assign the list of allowed URI schemes to the DxHyperlinkSettings.AllowedUriSchemes property to change the default list:

razor
<DxRichEdit>
    <HyperlinkSettings>
        <DxHyperlinkSettings AllowedUriSchemes="@(new string[] { "http", "https" })"/>
    </HyperlinkSettings>
</DxRichEdit>

See Also

DxRichEdit Class

DxRichEdit Members

DevExpress.Blazor.RichEdit Namespace