Back to Devexpress

RichEditContextMenuItemNames.IgnoreAllMisspellings Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-0a2924f4.md

latest2.4 KB
Original Source

RichEditContextMenuItemNames.IgnoreAllMisspellings Field

Gets the Ignore All Misspellings item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string IgnoreAllMisspellings = "IgnoreAllMisspellings"

Field Value

TypeDescription
String

The “IgnoreAllMisspellings” string.

|

Remarks

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

The Ignore All Misspellings item is a context menu item in the Spelling Menu. The item removes wavy red lines for all instances of the current misspelled word in the active sub-document.

The following code snippet removes the Ignore All Misspellings 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.IgnoreAllMisspellings);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace