zoukankan      html  css  js  c++  java
  • Grid.SharedSizeGroup


     <Grid IsSharedSizeScope="True">

            <Grid.ColumnDefinitions>

                <ColumnDefinition Width="auto" SharedSizeGroup="myGroup" />

                <ColumnDefinition />

                <ColumnDefinition  SharedSizeGroup="myGroup" />

            </Grid.ColumnDefinitions>

           

            <Label Grid.Column="0" Background="Red"

                   HorizontalContentAlignment="Center" VerticalContentAlignment="Center">1</Label>

           

            <GridSplitter Grid.Column="0" Width="5" />

            <Label Grid.Column="1" Background="Orange"

                   HorizontalContentAlignment="Center" VerticalContentAlignment="Center">2</Label>

            <Label Grid.Column="2" Background="Yellow"

                   HorizontalContentAlignment="Center" VerticalContentAlignment="Center">3</Label>

        </Grid>

     

  • 相关阅读:
    敲七
    二维指针数组**p
    食物链(待解决)
    蛇行矩阵
    快速排序 QuickSort
    堆排序
    猪的安家
    百度语言翻译机
    HTML <base> 标签
    免费网络管理流量监控软件大比拼
  • 原文地址:https://www.cnblogs.com/quietwalk/p/2271100.html
Copyright © 2011-2022 走看看