This is a migrated thread and some comments may be shown as answers.

Spellchecking subclass of textbox

1 Answer 66 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
Michael Salzlechner
Top achievements
Rank 1
Michael Salzlechner asked on 28 Sep 2011, 09:28 PM
is there an easy way to make the spellchecker work with a subclass of TextBox ?

thanks

Mike Salzlechner

1 Answer, 1 is accepted

Sort by
0
Andrew
Telerik team
answered on 04 Oct 2011, 08:05 AM
Hello Michael Salzlechner,

If by subclass you mean a class that inherits from TextBox, then yes, it is possible to use the spellchecker with that class. All you have to do is implement two interfaces - IControlSpellChecker and IWordInfo which reside in Telerik.Windows.Documents.Proofing namespace (in Telerik.Windows.Documents.Proofing assembly) and load the new IControlSpellChecker with MEF.
More information on spell checking custom controls can be found here.

Kind regards,
Andrew
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
SpellChecker
Asked by
Michael Salzlechner
Top achievements
Rank 1
Answers by
Andrew
Telerik team
Share this question
or