5 Answers, 1 is accepted
0
Hello Luca,
Which theme do you apply?
Summer Theme for RadDocking is almost identical with Vista.
If you can send us a sample project it will be much appreciated.
Thanks.
Regards,
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Luca
Top achievements
Rank 2
answered on 17 Mar 2009, 04:12 PM
Sorry, it was my mistake.
But I have a question regards themes on WPF: i know that this is not the correct forum, but I think it should be something simple for you! :)
How I can apply theme one time for the whole WPF application INCLUDING MICROSOFT CONTROLS (Button, Labels, etc..)???
thank you in advance
Luca
But I have a question regards themes on WPF: i know that this is not the correct forum, but I think it should be something simple for you! :)
How I can apply theme one time for the whole WPF application INCLUDING MICROSOFT CONTROLS (Button, Labels, etc..)???
thank you in advance
Luca
0
Hi Luca,
You can set themes on specific control or application themes the same way you do it in Silverlight.
This was the main motivation for renaming Theming class in WPF and RadControl in Silverlight to StyleManager.
You can set global theme like this:
And if you want to set some theme for specific control you can do it like this:
Let me know if you need more information.
Best wishes,
Hristo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
You can set themes on specific control or application themes the same way you do it in Silverlight.
This was the main motivation for renaming Theming class in WPF and RadControl in Silverlight to StyleManager.
You can set global theme like this:
public partial class App : Application |
{ |
public App() |
{ |
StyleManager.ApplicationTheme = ThemeManager.FromName("Vista"); |
} |
} |
And if you want to set some theme for specific control you can do it like this:
<Window x:Class="WpfApplication12.Window1" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
Title="Window1" Height="300" Width="300"> |
<Grid> |
<telerik:RadProgressBar Value="50" telerik:StyleManager.Theme="Summer"/> |
</Grid> |
</Window> |
Let me know if you need more information.
Best wishes,
Hristo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Luca
Top achievements
Rank 2
answered on 18 Mar 2009, 12:10 PM
Thank you, perfect!
L
L
0
Accepted
Hello Luca,
I forgot to mention that at the moment our WPF themes do not include style for Microsoft controls. We will try to provide them for the next service pack.
Regards,
Hristo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I forgot to mention that at the moment our WPF themes do not include style for Microsoft controls. We will try to provide them for the next service pack.
Regards,
Hristo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.