Grid 行和列

 

<Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>

            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
        </Grid>

<Grid.ColumnDefinitions>列定义

<Grid.RowDefinitions>行定义

<ColumnDefinition Width="40"></ColumnDefinition> 列有宽度定义

<RowDefinition Height="20"></RowDefinition>行有高度定义

 

 

posted @ 2018-06-19 19:47  雪地里的Alan  阅读(93)  评论(0编辑  收藏