Custom Dialog For RadSpellChecker

2 posts, 0 answers
  1. Brian
    Brian avatar
    6 posts
    Member since:
    Sep 2013

    Posted 11 Apr 2019 Link to this post

    I am using RadSpellChecker to spell check a WPF TextBox.  In a different area of my application, I am using RadRichTextBox and I have a custom dialog for spell checking.  When I spell check the WPF TextBox, I get the built-in spell checking dialog instead of my custom dialog.  Is there a way to also use the custom dialog when spell checking a WPF TextBox?

     

    Brian

  2. Peshito
    Admin
    Peshito avatar
    585 posts

    Posted 16 Apr 2019 Link to this post

    Hello Brian,

    RadSpellChecker is a different control and this is why you see a different dialog than the one you have used as a custom dialog for RadRichTextBox. You could however modify the default look of the RadSpellChecker's dialog by modifying its code. I have attached a sample project that you could use as a starting point. RadSpellChecker uses two dialogs - SpellCheckAllAtOnceWindow.xaml and SpellCheckWordByWordWindow.xaml. You can take a look at their source and customize them. The source is located in the Telerik.Windows.Documents.Proofing assembly. 

    Hope this helps.

    Regards,
    Peshito
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top