Reference to Shell Window from View

Topics: Prism v2 - WPF 3.5
Sep 29, 2010 at 9:17 AM


Would it be possible to get a reference to the shell window from view?

We would like to put a check box on the view in a region of the shell view to toggle the full screen mode.



Sep 29, 2010 at 3:43 PM
Edited Sep 29, 2010 at 3:54 PM


The recommended approach is to add a view with this checkbox in that particular region of your shell window using either View Discovery or View Injection. For more information on these two topic, you could take a look at the following sections on MSDN:

I do not know your exact scenario, but if you consider necessary to reference your shell windows from a view, I would suggest you to share more details of your scenario that help to clarify this situation. This way, we could find a possible approach that fits with your scenario.

I hope this help.

Fernando Antivero