Spellchecking subclass of textbox

2 posts, 0 answers
  1. Michael Salzlechner
    Michael Salzlechner avatar
    41 posts
    Member since:
    Jan 2010

    Posted 28 Sep 2011 Link to this post

    is there an easy way to make the spellchecker work with a subclass of TextBox ?


    Mike Salzlechner
  2. Andrew
    Andrew avatar
    140 posts

    Posted 04 Oct 2011 Link to this post

    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,
    the Telerik team

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

  3. DevCraft banner
Back to Top