3条回答 默认 最新
被吃了的狗 2015-05-08 05:57关注Grid.SetColumn(button1, 0); Grid.SetRow(button1, 0); Grid.SetRowSpan(button1,2); Grid.SetColumnSpan(button1, 2);也可以通过改变Row和Column的高度宽度为0来实现啊,
grid.ColumnDefinitions[1].Width = new System.Windows.GridLength(0); grid.RowDefinitions[1].Height = new System.Windows.GridLength(0);解决 无用评论 打赏 举报
