SpellingExtensions Class
A base class for spell check extension methods.
Namespace: DevExpress.Xpf.SpellChecker
Assembly: DevExpress.Xpf.SpellChecker.v24.2.dll
NuGet Package: DevExpress.Wpf.SpellChecker
Declaration
Remarks
The SpellingExtensions class provides extensiton methods used to retrieve SpellChecker error commands.
The GetErrorOperationCommands method creates a list of SpellChecker commands. The list depends on the type of misspelling and current spellchecker operation mode.
Use the GetSpellCheckError method to invoke a custom context menu for misspelled words, as shown below:
<RichTextBox x:Name="richTextBox" PreviewMouseRightButtonUp="RichTextBox_PreviewMouseRightButtonUp">
<RichTextBox.ContextMenu>
<ContextMenu ItemsSource="{Binding Path=MenuItems}"/>
</RichTextBox.ContextMenu>
<dxmvvm:Interaction.Behaviors>
<dxspch:DXSpellChecker Culture="en-US" CheckAsYouType="True"/>
</dxmvvm:Interaction.Behaviors>
</RichTextBox>
Inheritance
Object
SpellingExtensions
See Also