Back to Devexpress

RichEditContextMenuItemNames.IgnoreMisspelling Field

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

latest2.4 KB
Original Source

RichEditContextMenuItemNames.IgnoreMisspelling Field

Gets the Ignore Misspelling item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string IgnoreMisspelling = "IgnoreMisspelling"

Field Value

TypeDescription
String

The “IgnoreMisspelling” string.

|

Remarks

Use this property to perform the following operations with the Ignore Misspelling item:

The Ignore Misspelling item is a context menu item in the Spelling Menu. The item removes the wavy red line for the misspelled word at the current position in the document.

The following code snippet removes the Ignore Misspelling item from the Spelling Menu:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        IContextMenuItem spellingMenu = items[RichEditContextMenuItemNames.SpellingMenu];
        if(spellingMenu != null)
            spellingMenu.Items.Remove(RichEditContextMenuItemNames.IgnoreMisspelling);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace