Back to Devexpress

DxHyperlinkSettings Class

blazor-devexpress-dot-blazor-dot-richedit-b5c98b73.md

latest2.0 KB
Original Source

DxHyperlinkSettings Class

Contains hyperlink settings.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public class DxHyperlinkSettings :
    DxSettingsComponent<HyperlinkSettingsModel>

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 AllowedUriSchemes property to change the default list:

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

Implements

IComponent

IHandleEvent

IHandleAfterRender

IDisposable

Inheritance

Object ComponentBase DxSettingsComponent<DevExpress.Blazor.RichEdit.Internal.HyperlinkSettingsModel> DxHyperlinkSettings

See Also

DxHyperlinkSettings Members

DevExpress.Blazor.RichEdit Namespace