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

Implicit styles and Visual Studio Designer

1 Answer 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 11 Sep 2013, 03:52 PM
Hello,
I'm creating a new WPF application and would like to use implicit styles. The application currently uses the Windows8 theme.
I've added the references to the Telerik assemblies, including Telerik.Windows.Themes.Windows8.
In App.xaml, I have:
<Application.Resources>
  <ResourceDictionary>
    <ResourceDictionary.MergedDictionaries>
      <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/>
      <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/>
      <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Docking.xaml"/>
      <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
      <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
    </ResourceDictionary.MergedDictionaries>
  </ResourceDictionary>
</Application.Resources>

In Window1.xaml, I just have added a RadButton.
When I run the application, the button is displayed with the right theme, but the Visual Studio 2012 designer doesn't show the content of the button, as if the theme was not loaded.
How can I have the Visual Studio designer display the button correctly?

Patrick

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 16 Sep 2013, 09:44 AM
Hi Patrick,

We are aware of this problem when using Implicit Styles. We are currently checking what is the best solution of this problem. The issue is related to our dynamic resources which we've used in Windows8 and Windows8Touch themes. If you use our XAML binaries you will not face the same issue.

We are really sorry for the caused inconvenience.

Regards,
Rosen Vladimirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Rosen Vladimirov
Telerik team
Share this question
or