Hi,
I'm using Prism and MEF to inject my views into RadPanes. Everything works great, with one exception... if a pane is unpinned (i.e. it is just a tab) when the application starts up, when I mouse over the tab or click to pin, the pane has no content. I can pin/unpin a pane that already has content without issue.
It's a reasonable guess that because the pane is not active on startup, no content is injected, and then it doesn't know to inject the content on mouse-over or when pinning that pane.
What event at the pane level can I track to know when a pane is now being displayed from a hidden state (both on mouse over, and on click)? In this way I think I could detect that a pane has no content and request a navigation to that region.
Alternatively, is there a way to have even hidden or unpinned panes be 'Active' so they load content?
I'm using Prism and MEF to inject my views into RadPanes. Everything works great, with one exception... if a pane is unpinned (i.e. it is just a tab) when the application starts up, when I mouse over the tab or click to pin, the pane has no content. I can pin/unpin a pane that already has content without issue.
It's a reasonable guess that because the pane is not active on startup, no content is injected, and then it doesn't know to inject the content on mouse-over or when pinning that pane.
What event at the pane level can I track to know when a pane is now being displayed from a hidden state (both on mouse over, and on click)? In this way I think I could detect that a pane has no content and request a navigation to that region.
Alternatively, is there a way to have even hidden or unpinned panes be 'Active' so they load content?