.Net Project/SilverLight 3.0

09장) 실버라이트 테두리(Border)

래곤 2009. 11. 25. 16:43
반응형
 - Border 테두리 
 

<UserControl x:Class="RiaBorder.MainPage"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

    mc:Ignorable="d"

    d:DesignHeight="300" d:DesignWidth="400">

 

    <Grid x:Name="LayoutRoot" Background="White" Width="300" Height="300">

        <Border BorderBrush="Lavender" BorderThickness="10" CornerRadius="30">

            <StackPanel Background="DarkGreen">

                 <Button Content="BorderTickness" FontSize="20"></Button>

                 <Button Content="CornerRadius" FontSize="20"></Button>

            </StackPanel>                      

        </Border>

    </Grid>

</UserControl> 




반응형