RichEditContextMenuItemNames.IgnoreAllMisspellings Field
Gets the Ignore All Misspellings item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string IgnoreAllMisspellings = "IgnoreAllMisspellings"
Field Value
Type | Description |
---|---|
String | The “IgnoreAllMisspellings” string. |
Remarks
Use this property to perform the following operations with the Ignore All Misspellings item:
- Access the item’s properties
- Add/remove the item to/from a menu
- Remove the item from the Spelling Menu
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