public MainWindow() { SpellChecker = new SfSpellChecker(); InitializeComponent(); SpellEditor = new TextSpellEditor(txtbx); Editor = SpellEditor; SpellChecker.PerformSpellCheckUsingContextMenu(Editor); }
private void LoadItems(object obj) { Editor = new TextSpellEditor(obj as TextBox); SpellChecker.PerformSpellCheckUsingContextMenu(Editor); SpellChecker.PerformSpellCheckUsingDialog(Editor); }