Answered by:
Themes

Question
-
How to create Themes in WPF. when we change system themes than change style our WPF controls.Tuesday, July 31, 2012 7:48 AM
Answers
-
Using is easy, then you can adapt an existing Theme:
http://wpfthemes.codeplex.com/
http://wpf.codeplex.com/wikipage?title=WPF%20Themes
http://msdn.microsoft.com/en-us/library/ms745025.aspx - scroll down to "Defining Resources at the Theme Level"
DefaultStyleKeyProperty.OverrideMetadata(typeof(NumericUpDown), new FrameworkPropertyMetadata(typeof(NumericUpDown)));
A load of Theme related links here, including a Theme Generator.
http://weblogs.asp.net/akjoshi/archive/2010/10/08/themes-for-wpf.aspx
Just search for "wpf themes", it is a big subject with many options, so better to point you in the right direction :)
Regards,
Pete#PEJL
- Marked as answer by Sheldon _Xiao Tuesday, August 7, 2012 7:01 AM
Tuesday, July 31, 2012 8:17 PM
All replies
-
Using is easy, then you can adapt an existing Theme:
http://wpfthemes.codeplex.com/
http://wpf.codeplex.com/wikipage?title=WPF%20Themes
http://msdn.microsoft.com/en-us/library/ms745025.aspx - scroll down to "Defining Resources at the Theme Level"
DefaultStyleKeyProperty.OverrideMetadata(typeof(NumericUpDown), new FrameworkPropertyMetadata(typeof(NumericUpDown)));
A load of Theme related links here, including a Theme Generator.
http://weblogs.asp.net/akjoshi/archive/2010/10/08/themes-for-wpf.aspx
Just search for "wpf themes", it is a big subject with many options, so better to point you in the right direction :)
Regards,
Pete#PEJL
- Marked as answer by Sheldon _Xiao Tuesday, August 7, 2012 7:01 AM
Tuesday, July 31, 2012 8:17 PM -
- Proposed as answer by Sheldon _Xiao Tuesday, August 7, 2012 7:01 AM
Wednesday, August 1, 2012 5:13 AM -
additional, this customer shared a link maybe helpful for you:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/46357583-77cf-4d4d-b25f-4d53631746d2
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Proposed as answer by Sheldon _Xiao Tuesday, August 7, 2012 7:01 AM
Thursday, August 2, 2012 6:27 AM