New WPF Features: Custom Speller Dictionary

This is part of a series on New WPF Features In previous versions, adding a custom dictionary was an unsupported scenario. You could still do it but it required writing a bunch of code. In this release, we have provided suport for adding custom dictionaries.      <RichTextBox FontSize=”24″ SpellCheck.IsEnabled=”true” >             <SpellCheck.CustomDictionaries>                   <sys:Uri>Dictionary1.lex</sys:Uri>                  …

4

WPF: Adding speller to custom context menu

One of the interesting features in Editing is the speller and it works really well. 🙂 One of the ineteresting scenarios when it comes to speller is to add the speller choices to a custom context menu. The speller choices would have to be added in the ContextMenuOpening event handler as below: spellingError = textBox.GetSpellingError(caretIndex);…

2