RadSpellChecker and Implicit Themes

2 posts, 0 answers
  1. Boyan
    Boyan avatar
    2 posts
    Member since:
    Sep 2014

    Posted 20 Feb 2018 Link to this post


    I am trying to spellcheck certain controls in our project. However, whenever I make a call to RadSpellChecker.Check(this.textBox1, SpellCheckingMode.WordByWord), the corresponding spell checking window does not seem to load/open properly (there is just a transparent footprint of the window). Our project uses implicit themes  and we suspect this is causing the problem. On a small test project (no implicit themes), the RadSpellChecker seems to work fine. Thank you.

  2. Tanya
    Tanya avatar
    877 posts

    Posted 23 Feb 2018 Link to this post

    Hi Boyan,

    When using the implicit theming mechanism, you will need to merge the resource dictionaries the control depends on. For the dialogs of RadSpellChecker, you should ensure that the following dictionaries are merged:

    <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Controls.xaml"/>
    <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
    <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Documents.xaml"/>
    <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Documents.Proofing.xaml" />

    Hope this is helpful.

    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top