tbName.SetValue(Grid.RowProperty, 1);
如何通过代码设置控件在 Grid 里的行和列?
原文:http://www.cnblogs.com/quietwalk/p/3531670.html