Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
This example illustrates how to set the height of the window from a Page.
Exemplo
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.
Observação
To set the height of a window using WindowHeight, a Page must be the child of a window.
<Page
xmlns="https://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="https://schemas.microsoft.com/winfx/2006/xaml"
Title="SetWindowHeightPage"
WindowHeight="500"
>
</Page>