Is it possible to style the floating panes and remove the default OS chrome?
You can remove the OS chrome by handling the ToolWindowLoaded and setting the e.Window.UseOsNonClientArea to false. You can restyle the PaneToolWindow. Note, the default styles for PaneToolWindow that we include in the xamDockManager xaml included in the DefaultStyles just references/bases on the default styles we have for the base class - ToolWindow which is in the Windows assembly so if you want to create your own style it would be best to take one of those styles and use that as your starting point.
This works, but also removes dragging and pinning functionality. Do we have to re-implement those features if we set the UseOsNonClientArea property to false?
Got it to work. Thanks!
Toggling the docked state should still function. That too wouldn't work right if the elements in the custom PaneToolWindow template didn't use the part names required. If it doesn't work without a custom style but just when setting the UseOsNonClientArea to false then please post a sample and we can look into why it is not working.
I am referring to the docking feature. When you double click on the header, the window docks back into place.
Dragging of the floating window would still work assuming you are using the element names (i.e. part names) we are using in our template. As to the pinning functionality I'm not sure what you mean - floating elements don't support pinning/unpinning. Only docked panes are unpinnable.