실버라이트 관련 팁 모음

시삽: 레드플러스 님 
게시판 이동:
 제목 : StackPanel Layout
글번호: 9
작성자: 레드플러스
작성일: 2009/02/15 오후 10:37:45
조회수: 2539
<UserControl x:Class="RiaStackPanel.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Background="Pink">
            <Button Content="One" HorizontalAlignment="Left"></Button>
            <Button Content="Two" HorizontalAlignment="Right"></Button>
            <Button Content="Three" HorizontalAlignment="Center"></Button>            
        </StackPanel>
        <StackPanel Grid.Row="1" Background="Pink" Orientation="Horizontal">
            <Button Content="One" VerticalAlignment="Top"></Button>
            <Button Content="Two" VerticalAlignment="Bottom"></Button>
            <Button Content="Three" VerticalAlignment="Center"></Button>
        </StackPanel>
    </Grid>
</UserControl>
 
이전 글   다음 글 삭제 수정 답변 글쓰기 리스트

(댓글을 남기려면 로그인이 필요합니다.)

관련 아티클 리스트
  제       목 파일 작성자 작성일 조회
이전글 드래그인드롭 RiaDragAndDrop.zip(557 KB) 레드플러스 2009-06-28 2535
현재글 StackPanel Layout - 레드플러스 2009-02-15 2539
다음글 멀티라인 텍스트박스 구현하기 - 레드플러스 2009-02-12 2774
 
손님 사용자 Anonymous (손님)
로그인 Home