Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
ResourceWasher doesn't work with XamDockManager Floating Panes
posted

Hi,

I'm using the XamDockManger with DocakbleFloating panes.  I have two requirements, 

  1. I want the FloatingPanes to have a consistent look and feel with docked panes, as per the XamDockManager -> Control Docking Behaviour sample
  2. I want to change some colours used by the XamDockManager to make it look more like other parts of my application.

The only way I've found to achieve point 1 (quickly and easily) is to apply a Theme to the XamDockManager, currently I'm using RoyalLight.  This removes the default ToolWindowHostWindow toolbar containing the red close button.

The only way I can find to achieve point 2 easily is using a ResourceWasher as outlined in the XamDockManager -> Creating Custom Themes (Advanced) sample.  However, in order to use a ResourceWasher you can't explicitly set a Theme on the XamDockManager, removing the Theme gives me my custom colours but the default Toolbar is now present on my DockableFloating panes.

Can you tell me how to achieve both of these requirements at once please?  I haven't attached a sample solution, if you go to the XamDockManager -> Creating Custom Themes (Advanced) sample and float one of the panes you can see the behaviour I've outlined above.

Thanks

Parents Reply Children