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

728x90
반응형
728x170

TestProject.zip
다운로드

▶ 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"
    FontFamily="나눔고딕코딩"
    FontSize="16">
    <Grid
        Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
        Padding="10">
        <StackPanel
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Background="Blue">
            <TextBlock
                Margin="10"
                HorizontalAlignment="Right"
                Foreground="White"
                Text="오른쪽 정렬 텍스트" />
            <Image
                Margin="10"
                Width="320"
                Height="240"
                Source="Image/sample.jpg" />
            <TextBlock
                Margin="10"
                HorizontalAlignment="Center"
                Foreground="White"
                Text="샘플 이미지" />
            <Ellipse
                Margin="10"
                Width="100"
                Height="100"
                Stroke="Red"
                StrokeThickness="12" 
                Fill="Blue" />
            <TextBlock
                Margin="10"
                HorizontalAlignment="Left"
                Foreground="White"
                Text="왼쪽 정렬 텍스트" />
        </StackPanel>
    </Grid>
</Page>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요