2011-11-01 71 views

回答

0

在後面的代碼中,您可以在Children屬性中使用Insert()方法。

WrapPanel myPanel = new WrapPanel(); 
myPanel.Children.Insert(0, new Button()); 

如果不在代碼後面,您將不得不創建一個新的控件。