Hi Folks I am trying to invoke the current theme of windows for my elements in WPF 3.5.
as the user change the window theme my application should also be changed according to the theme.
I am using styles.
Please help me.
Hi Folks I am trying to invoke the current theme of windows for my elements in WPF 3.5.
as the user change the window theme my application should also be changed according to the theme.
I am using styles.
Please help me.
You can define a different look and feel based on the desktop theme by adding a resource dictionary to the Themes folder. The desktop theme determine which resource dictionary is used. Here is a list the resource dictionary file names and the desktop themes:
You can read details there (http://blogs.msdn.com/wpfsdk/archive/2007/07/31/using-themes-with-custom-controls.aspx)