2012-04-12 57 views

回答

0

你也可以找到這樣的

ListBoxItem selItem = (ListBoxItem)(listboxWeight.ItemContainerGenerator.ContainerFromIndex(listboxWeight.SelectedIndex)); 

StackPanel weightpanel = (StackPanel)selItem.Content; 

var panel1 = weightpanel.Children[0] as HyperlinkButton; 
相關問題