摘要:
1、WPF 获得DataTemplate中的控件, 下面这个示例是从ListBox中获得ListBoxItem模板的控件信息。前台代码: <!--获得模板中的控件--> <ListBox Margin="12,32,0,0" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding}" Name="listBox1" SelectedIndex="0" Height="186" VerticalAl 阅读全文
posted @ 2011-09-09 12:16 work hard work smart 阅读(11924) 评论(1) 推荐(0)
浙公网安备 33010602011771号