ColumnDefinition cd0 = new ColumnDefinition();
cd0.Width = new GridLength(2, GridUnitType.Star);
txtGrid.ColumnDefinitions.Add(cd0);
转载于:https://www.cnblogs.com/ppzbty/p/5760208.html
ColumnDefinition cd0 = new ColumnDefinition();
cd0.Width = new GridLength(2, GridUnitType.Star);
txtGrid.ColumnDefinitions.Add(cd0);
转载于:https://www.cnblogs.com/ppzbty/p/5760208.html