블로그 이미지
Magic_kit
study 관련자료를 한곳으로 자기 개발 목적으로 재태크 재무 관리 목적으로 일상생활의 팁을 공유 하기 위하여 블로그를 개설 하였습니다.

calendar

1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
반응형

Category

Recent Post

Recent Comment

Archive

2009. 11. 25. 16:40 .Net Project/SilverLight 3.0
반응형
 - 패내마외 & 좌상우하
 

<UserControl x:Class="RiaPaddingAndMargin.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="Silver">

        <StackPanel Background="Pink" Margin="30"  >

            <TextBlock Text="안쪽 바깥쪽 여백 표현"
                     
 FontSize="20"
                       HorizontalAlignment
="Center" 
                       Margin
="0,10,0,0"></TextBlock>

            <Button x:Name="btnContent"
                    
 Content="패내마외" FontSize="15"
                    
 Padding="10" Margin="10"></Button>

            <Button x:Name="btnResult" Content="좌상우하"
                   
  FontSize="15" Margin="10,5,10,5"
                      padding
="10,10,10,10"></Button>

            <Button x:Name="btnResult1" Content="패내마외"
                   
  FontSize="15"
                      Margin
="10,5,10,5" Padding="10,10,10,10"></Button>

            <Button x:Name="btnResult2" Content="좌상우하"
                   
  FontSize="15"
                   
 Margin="10,5,10,5"
                     Padding
="10,10,10,10"></Button>           

        </StackPanel>

    </Grid>

</UserControl> 




반응형
posted by Magic_kit