실버라이트 관련 팁 모음

시삽: 레드플러스 님 
게시판 이동:
 제목 : Grid Layout
글번호: 7
작성자: 레드플러스
작성일: 2008/11/30 오후 4:52:53
조회수: 2554
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
    <Grid Background="Gray" ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition Height="2*" /> <!-- 2배 -->
            <RowDefinition Height="Auto" /> <!-- 내용에 따라서 자동 -->
            <RowDefinition Height="*" /> <!-- 전체 -->
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="300" /> <!-- 300픽셀 -->
            <ColumnDefinition Width="4*" />
        </Grid.ColumnDefinitions>
        <Button Grid.Row="1" Grid.Column="1" Content="안녕" Margin="5" Grid.ColumnSpan="1" Grid.RowSpan="1" FontSize="33"></Button>
    </Grid>
</Page>
 
이전 글   다음 글 삭제 수정 답변 글쓰기 리스트

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

관련 아티클 리스트
  제       목 파일 작성자 작성일 조회
이전글 Layout - 레드플러스 2008-06-22 2583
  4 - 레드플러스 2008-06-22 2571
  Canvas Layout 관련 코드 조각 - 레드플러스 2008-06-22 2615
현재글 Grid Layout - 레드플러스 2008-11-30 2554
다음글 3 - 레드플러스 2008-06-22 2603
 
손님 사용자 Anonymous (손님)
로그인 Home