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>

     

  • 相关阅读:
    第二周编程总结
    介绍自己
    编程总结3
    PTA编程总
    PTA编程总结1
    《秋季学期学习总结》
    《人生路上对我影响最大的三位老师》
    介绍自己
    7-1 打印沙漏
    记叙在人生路上对你影响最大的三位老师
  • 原文地址:https://www.cnblogs.com/quietwalk/p/2271100.html
Copyright © 2011-2022 走看看