Hi.
I have followed some ESRI sample code for putting tabs on a dockpane.
See this: https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Framework#tabindicator
It works well - however if I want to make a button stick to the bottom (with a margin round it) and kind of have it separate itself away from all other controls on the dockpane - I find it almost impossible to figure out because you have to use a ContentPresenter - a kind of template dockpane and I think all the height sizing parameters go haywire!
Whats doubly annoying is that at design time - it looks fine but when you look at the actual control at run time it does not behave - can anyone suggest the correct XAML as I have lost hours on this and I can't waste anymore development time on this - see the screen shots:
Design Time:

Runtime:
