Hello,
I want to change the color of xamRibbonWindows Border. Can someone please help me?
THX
Actually you can just use the xamRibbonWindow itself. You would still set its root child as the RibbonWindowContentHost - just don't set the Ribbon property. The RibbonWindowContentHost will provide the default titlebar, etc. If you are setting the Theme on the xamRibbon and you want this xamRibbonWindow to stay in sync then add a resource dictionary for the chosen theme. There is a sample of this provided in another forum post here.
I've got the same query here. When using the XamRibbon in conjunction with a XamRibbonWindow whose theme has been set, the XamRibbonWindow inherits the color scheme.
If I wanted to have a matching window in the application (as a child window or dialog) which didn't host the XamRibbon, how would this be achieved? Is the RibbonBrushKeys class the key to achieving this?
It is important to note that when run on a Vista (or later) system which has glass/aero enabled that the non-client area you see is that of the OS and not something rendered by WPF or our elements. When running on a system where glass/aero is not available/enabled (e.g. Vista with Aero Basic theme or on XP) then elements such as the RibbonWindowBorder will play a part in rendering what appears to be the non-client area. That element in particular uses the brushes whose keys are defined in the RibbonBrushKeys class - specifically (Active)WindowBorderInner(1|2|3)BrushKey. If you still have a question then please post a screenshot indicating what area you are looking to affect.