RichEditSpellChecker Class
Allows you to implement the spell checking functionality for the RichEditControl in XAML.
Namespace: DevExpress.Xpf.SpellChecker
Assembly: DevExpress.Xpf.SpellChecker.v23.2.dll
NuGet Package: DevExpress.Wpf.SpellChecker
Declaration
[TargetType(typeof(StubClass))]
public class RichEditSpellChecker :
SpellCheckerBase<Control>,
ISpellChecker
Remarks
Use the RichEditSpellChecker instance to configure the spell checker behavior for the RichEditControl in XAML.
Example
<Window
x:Class="RichEditSpellChecker_Example.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dxre="http://schemas.devexpress.com/winfx/2008/xaml/richedit"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
xmlns:dxspch="http://schemas.devexpress.com/winfx/2008/xaml/spellchecker"
Height="350"
Width="525"
mc:Ignorable="d"
Title="MainWindow">
<Grid>
<!--region #RichEditSpellCheckerBehavior-->
<dxre:RichEditControl DocumentSource="An ideal dictionarie shouldbe comprised of all the the words in a given langauge">
<dxmvvm:Interaction.Behaviors>
<dxspch:RichEditSpellChecker CheckAsYouType="True"
Culture="en-US"
IgnoreMixedCaseWords="False"
IgnoreUri="False"
SpellingFormType="Word">
<dxspch:RichEditSpellChecker.Dictionaries>
<dxspch:HunspellDictionary Culture="en-US"
DictionaryUri="pack://application:,,,/Dictionaries/en_US.dic"
GrammarUri="pack://application:,,,/Dictionaries/en_US.aff"/>
<dxspch:SpellCheckerCustomDictionary Culture="en-US"
DictionaryUri="Dictionaries/CustomEnglish.dic"
AlphabetUri="Dictionaries/EnglishAlphabet.txt"/>
</dxspch:RichEditSpellChecker.Dictionaries>
</dxspch:RichEditSpellChecker>
</dxmvvm:Interaction.Behaviors>
</dxre:RichEditControl>
<!--endregion #RichEditSpellCheckerBehavior-->
</Grid>
</Window>
Inheritance
Object
DispatcherObject
DependencyObject
Freezable
Animatable
DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase
DevExpress.Mvvm.UI.Interactivity.Behavior
DevExpress.Mvvm.UI.Interactivity.Behavior<Control>
Extension Methods
See Also