What if you dont have a workspace in the docksite.
I'm trying to work out the direction of a toolwindow so I can change the content based on the position (set the content stackpanel orientation based on the dock position etc)
There doesn't seem to be any method of getting the direction based on the parent object.
It would be good if you could tell if a toolwindow was docked Top,bottom,Left,Right,Center, collapsed etc.
I've tried GetDirectionRelativeToWorkspace, but as I said...my docksite doesn't have a workspace.