I would like to make my WPF application draw from the currently selected system theme.
To illustrate, here is a Windows Forms version of what I hope to accomplish.
This Windows Form window has a basic menustrip and a toolstrip with to specific theming. Its appearance will change if the user opts to change the theme:
Additionally, it will switch to areo theme when run in Windows 7. I would like to do the same in WPF. But I am unsure about how to make a WPF window styled after the current windows theme. This window (xaml), also has a menustrip and toolstrip control, but does not fully follow the selected Windows theme.
The menu and toolbar controls do not retain the gradient found in the XP Luna themes. Note that unlike other WPF theming posts, I am not trying to override the User Selected Windows theme. This question seems close to mine, but I want to theme all controls to match the selected system theme unless overridden. Does this need to be done on a per control basis? Can this be configured for the entire project? This MSDN article only covers custom controls.
I would appreciate specific examples about how to get the WPF Menu and WPF toolbar controls to match the current system theme.
Edit: It would also be great to know what color to set the menu to such that a system themed stripe appears next to the menu item: (to the left of "Exit")
(to the left of "Exit")