첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.

728x90
반응형
728x170

TestProject.zip
0.01MB

▶ MainPage.xaml

<Page x:Class="TestProject.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    WindowWidth="800"
    WindowHeight="600"
    WindowTitle="Page 엘리먼트 : WindowWidth/WindowHeight/WindowTitle 속성 사용하기">
    <Grid>
        <TextBlock
            HorizontalAlignment="Center"
            VerticalAlignment="Center">
            Hello, from MainPage!
        </TextBlock>
    </Grid>
</Page>

 

728x90

 

▶ MainWindow.xaml

<NavigationWindow Name="window"
    x:Class="TestProject.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400"
    Height="400"
    FontFamily="나눔고딕코딩"
    FontSize="16">
</NavigationWindow>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요