schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" xmlns:my="clr-namespace:TXTextControl.WPF;assembly=TXTextControl.WPF" xmlns:spell="clr-namespace:TXTextControl.WPF.Proofing;assembly=TXSpell.WPF" TXSpellChecker x:Key="txSpellChecker1"TXSpellChecker
TXSpellChecker instance. The source code is contained in the following directories: Samples\WPF\CSharp\TextControl\SpellCheckDialog on multiple controls Samples\WPF\VB.NET\TextControl\SpellCheckDialog on multiple controls If a customizable SpellCheckDialog is used, the…
the dialog to spell check an unlimited number of RichTextBoxes. C# VB.NET private void txSpellChecker1_SpellCheckDialogClosing(object sender, TXTextControl.WPF.Proofing.SpellCheckDialogClosingEventArgs e) { if (e.StateManager.NextIncorrectWord != null) { return; } e.Cancel =…
any other control, the WPF.Proofing.TXSpellChecker.Check method must be called before the dialog is opened: C# VB.NET txSpellChecker1.Check(new TextRange(richTextBox1.Document.ContentStart, richTextBox1.Document.ContentEnd).Text); txSpellChecker1.SpellCheckDialog.Show(this);…
It is not neccessary to switch manually between the controls. When text is changed in one of the RichTextBoxes, the WPF.Proofing.TXSpellChecker.Check method is called and the misspelled words are colorized: C# VB.NET TextRange range = new TextRange
TXSpellChecker Constructor TXSpellChecker Class TXTextControl.WPF.Proofing Namespace Initializes a new instance of the TXSpellChecker class. TXSpellChecker() C# VB.NET public TXSpellChecker(); Public Sub New() public TXSpellChecker(); Public Sub New() TXSpellChecker(String) C# VB.NET public…
MisspelledWordChanging Event TXSpellChecker Class TXTextControl.WPF.Proofing Namespace Occurs when an object of type TXTextControl.MisspelledWord is changing by spell check context menu or spell check dialog operations. The MisspelledWordChangingHandler receives an argument of type…
UserDictionaryWordAdded Event TXSpellChecker Class TXTextControl.WPF.Proofing Namespace Occurs when a word is added to a user dictionary. The UserDictionaryWordAddedHandler receives an argument of type UserDictionaryWordAddedEventArgs containing data related to this event. Introduced: 3.0.…
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: