Hello
I have dug around but found no answer to this. It seems when my new pane is added to the DocumentHost its DataContext is always null and not inherited.
I was thinking there is some way around this with the DockingPanesFactory but I couldn't find it.
WPF Inspector says that the DataContext is completely fine up until it reaches ContentElement.
Is there a way to get the ContentElement to inherit the DataContext?
I have dug around but found no answer to this. It seems when my new pane is added to the DocumentHost its DataContext is always null and not inherited.
I was thinking there is some way around this with the DockingPanesFactory but I couldn't find it.
WPF Inspector says that the DataContext is completely fine up until it reaches ContentElement.
Is there a way to get the ContentElement to inherit the DataContext?