■ Border 클래스 사용하기

------------------------------------------------------------------------------------------------------------------------


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">

    <Grid

        Background="{StaticResource ApplicationPageBackgroundThemeBrush}"

        Padding="10">

        <Border

            HorizontalAlignment="Center"

            VerticalAlignment="Center"

            BorderBrush="Red"

            BorderThickness="10"

            CornerRadius="30"

            Background="Yellow">

            <TextBlock

                Margin="20"

                FontSize="96"

                Foreground="Blue"

                Text="Hello World!" />

        </Border>

    </Grid>

</Page>

 

------------------------------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요