Back to Devexpress

RichEditContextMenuItemNames.RemoveHyperlink Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-f6aacb9f.md

latest1.8 KB
Original Source

RichEditContextMenuItemNames.RemoveHyperlink Field

Gets the Remove Hyperlink item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string RemoveHyperlink = "RemoveHyperlink"

Field Value

TypeDescription
String

The “RemoveHyperlink” string.

|

Remarks

Use this property to perform the following operations with the Remove Hyperlink item:

The Remove Hyperlink item is a context menu item that allows users to remove the current hyperlink.

The following code snippet removes the Remove Hyperlink item from the context menu:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        items.Remove(RichEditContextMenuItemNames.RemoveHyperlink);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace