.Net/WPF
Page 전체화면으로 설정하기
동구밖과수원
2013. 3. 6. 17:20
Page Class에는 WindowState 속성이 없다.
전체 화면을 구현하기 위해서는 Frame을 NavigationWindow로 설정하면 된다.
NavigationWindow에서 Page를 설정하는 방법은 아래와 같다.
<NavigationWindow x:Class="ARCROM.GIFMaker.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="300" Width="300" Source="MainPage.xaml" WindowState="Maximized"> </NavigationWindow> |