blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-0a2924f4.md
Gets the Ignore All Misspellings item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public const string IgnoreAllMisspellings = "IgnoreAllMisspellings"
| Type | Description |
|---|---|
| String |
The “IgnoreAllMisspellings” string.
|
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:
<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