WPF 獲得DataTemplate中的控件

1、WPF 獲得DataTemplate中的控件, 下面這個示例是從ListBox中獲得ListBoxItem模板的控件信息。 前臺代碼: <!--獲得模板中的控件-->         <ListBox  Margin= "12,32,0,0"  IsSynchronizedWithCurrentItem= "True"  ItemsSource= "{Binding}"  Name= "lis
相關文章
相關標籤/搜索