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