How to: Set the Height of a Window from a Page
This example illustrates how to set the height of the window from a Page.
A Page can set the height of its host window by setting WindowHeight. This property allows the Page to not have explicit knowledge of the type of window that hosts it.
To set the height of a window using WindowHeight, a Page must be the child of a window.