WPF Prog.
C#을 공부하면서 함께하는 WPF 입니다. 다소 부족한 점이 있더라고 양해 부탁드립니다.
우리가 만든 창의 크기를 고정시키는 방법입니다.
아주 간단합니다.
<Window x:Class="Runtoyourdream"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="xxxx" Height="200" Width="400" ResizeMode="NoResize">
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="xxxx" Height="200" Width="400" ResizeMode="NoResize">
위의 ResizeMode="NoResize" 를 추가시켜주면 적용됩니다.
'프로그래밍 > WPF' 카테고리의 다른 글
[WPF] 필수! 데이터 바인딩 맛보기 (0) | 2013.07.27 |
---|---|
[WPF] Hello World! 출력해보기 (0) | 2013.07.25 |