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

Office 2013 Theme for WPF Controls

18 Answers 281 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pieter
Top achievements
Rank 1
Pieter asked on 18 Jul 2012, 12:14 PM
Hi there,

Since the (very) recent release of Office 2013, will Telerik be rolling out an Office 2013 theme for WPF Controls?

What would be the timeline?

Thanks in advance.

Pieter

18 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 23 Jul 2012, 08:07 AM
Hello,

A theme based on Office 2013 is not in our immediate plans. We will discuss this on our next planning meeting.

Greetings,
Hristo
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Chad
Top achievements
Rank 1
answered on 27 Jul 2012, 11:30 PM
+1 for Office 2013 theme -- would be nice to have for Silverlight also...
0
Jesper
Top achievements
Rank 2
answered on 17 Jan 2013, 01:07 PM
It's really important for us to support the Office2013 styles. Count it as +1 from me!
0
Wojciech
Top achievements
Rank 1
answered on 01 Feb 2013, 08:48 AM
+1 for Office 2013 Ribbon theme/style
0
Matt
Top achievements
Rank 1
answered on 16 Apr 2013, 04:53 PM
+1 more for the Office 2013 theme.  I'm very surprised Telerik is so far behind the curve on this one.
0
Chad
Top achievements
Rank 1
answered on 16 Apr 2013, 05:32 PM
+1 again...

We've now invested about $300k doing this ourselves... any interest in taking over support from us?

  Chad

0
Dimitrina
Telerik team
answered on 19 Apr 2013, 08:35 AM
Hello,

Thank you for your interest.

We are currently working on it, but so far I cannot commit when it will be officially released. 

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Christian
Top achievements
Rank 1
answered on 07 Jul 2013, 02:42 PM
Any update on this? I'm considering/looking at DevExpress because of their Office 2013 theming. I'm sure I'm not the only one.
0
Dimitrina
Telerik team
answered on 08 Jul 2013, 09:04 AM
Hello,

The Office 2013 Theme is planned to be released with the upcoming Q3 2012.

Regards,
Didie
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 >>
0
Alan
Top achievements
Rank 2
answered on 23 Jul 2013, 02:54 PM
Didie, do you mean Q3 2013?
0
Dimitrina
Telerik team
answered on 23 Jul 2013, 03:01 PM
Hi,

Yes, you are correct. I apologize for the wrong year. 

Regards,
Didie
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 >>
0
Alexey
Top achievements
Rank 1
answered on 17 Oct 2013, 05:59 AM
Hello!
I'm using the newly version Q3 2013. How to set Office2013 theme for all controls in application? Tried to use StyleManager.ApplicationTheme, but can not create object Office2013Theme, because it internal. How can this be done?
0
Dimitrina
Telerik team
answered on 17 Oct 2013, 10:28 AM
Hi,

You can apply the Theme using the approach explained in the Implicit Styles article. For the purpose you need to add NoXaml binaries to your application.

Regards,
Didie
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 >>
0
Ristogod
Top achievements
Rank 2
answered on 17 Oct 2013, 03:16 PM
Any examples? Because what you linked to makes no sense.

Also, why switch from something simple to something overly convoluted and tedious?
0
Pana
Telerik team
answered on 21 Oct 2013, 08:23 AM
Hello,

I understand your frustration, however implicit styles are not that convoluted and tedious.

We have done our best to allow our clients easily create new projects using the implicit styles. For example if you install our controls for WPF you will have Telerik new project templates for creating an implicit styles enabled project. You can create a project using implicit styles without a single line of code. How to - please check the 4 attached screenshots  (CreatingImplicitStylesApp00.png, CreatingImplicitStylesApp01.png, CreatingImplicitStylesApp02.png, CreatingImplicitStylesApp03.png)

Technically it simply references the assemblies from the right location - Binaries.NoXaml and merges the themes in the app.xaml:

<Application x:Class="SampleWPFApp.App"
        StartupUri="MainWindow.xaml">
    <Application.Resources>
      <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/System.Windows.xaml"/>
            <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.xaml"/>
            <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
            <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
          </ResourceDictionary.MergedDictionaries>
      </ResourceDictionary>
    </Application.Resources>
</Application>

And you are done.

Further more only If you want to change the themes at runtime you can simply remove all merged dictionaries for the current app.xaml and merge the new dictionaries from the new theme. How to - please check the attached WPF project. It contains 3 buttons that swap the merged dictionaries using the following code:

using System;
using System.Windows;
 
namespace SampleWPFApp
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
 
        private void Blue_Click(object sender, RoutedEventArgs e)
        {
            ChangeTheme("Office_Blue");
        }
 
        private void Silver_Click(object sender, RoutedEventArgs e)
        {
            ChangeTheme("Office_Silver");
        }
 
        private void Office2013_Click(object sender, RoutedEventArgs e)
        {
            ChangeTheme("Office2013");
        }
 
        private static void ChangeTheme(string theme)
        {
            Application.Current.Resources.MergedDictionaries.Clear();
            MergeThemeResourceDictionary(theme, "System.Windows");
            MergeThemeResourceDictionary(theme, "Telerik.Windows.Controls");
            MergeThemeResourceDictionary(theme, "Telerik.Windows.Controls.Input");
            MergeThemeResourceDictionary(theme, "Telerik.Windows.Controls.Navigation");
        }
 
        private static void MergeThemeResourceDictionary(string theme, string assembly)
        {
            var resourceDictionary = new ResourceDictionary();
            var uriPath = string.Format("/Telerik.Windows.Themes.{0};component/Themes/{1}.xaml", theme, assembly);
            resourceDictionary.Source = new Uri(uriPath, UriKind.RelativeOrAbsolute);
            Application.Current.Resources.MergedDictionaries.Add(resourceDictionary);
        }
    }
}


Should you have further problems, please do not hesitate to contact us.

Regards,
Pana
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 >>
0
Ristogod
Top achievements
Rank 2
answered on 21 Oct 2013, 01:20 PM
I don't see how a project template is going to help for anything already well into development.

Also, tried what you suggested. Doesn't work. Submitted support ticket.
0
Yana
Telerik team
answered on 22 Oct 2013, 02:28 PM
Hello Nathan,

Thank you for sending the additional information in the ticket. We have reviewed it and replied.

Regards,
Yana
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 >>
0
Ibrahim
Top achievements
Rank 1
answered on 22 May 2017, 10:02 PM
thanks
Tags
General Discussions
Asked by
Pieter
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Chad
Top achievements
Rank 1
Jesper
Top achievements
Rank 2
Wojciech
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Dimitrina
Telerik team
Christian
Top achievements
Rank 1
Alan
Top achievements
Rank 2
Alexey
Top achievements
Rank 1
Ristogod
Top achievements
Rank 2
Pana
Telerik team
Yana
Telerik team
Ibrahim
Top achievements
Rank 1
Share this question
or