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

RadSpellChecker and Implicit Themes

1 Answer 53 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
Boyan
Top achievements
Rank 1
Boyan asked on 20 Feb 2018, 07:38 PM

Hello,

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.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 23 Feb 2018, 08:48 AM
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.

Regards,
Tanya
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 you to write beautiful native mobile apps using a single shared C# codebase.
Tags
SpellChecker
Asked by
Boyan
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or