wpf 控件使用

wpf 控件使用

http://blog.sina.com.cn/s/articlelist_1057362533_13_1.html

-------wpf toolkit和wpf toolkit extend的使用

http://www.mysjtu.com/page/M0/S207/207808.html

----------wpf启动界面可以一闪,一个jpg

http://www.cnblogs.com/liuxia19872003/archive/2012/01/18/2325632.html

-------------Calendar + textbox = DatePicker

http://www.c-sharpcorner.com/UploadFile/mahesh/wpf-datepicker/

--------datagrid使用

http://www.codeproject.com/Articles/30905/WPF-DataGrid-Practical-Examples

http://blog.csdn.net/sanjiawan/article/details/6785394

http://developer.51cto.com/art/201004/194816.htm

------datagrid中使用combobox

http://www.cnblogs.com/khler/archive/2009/04/03/1428743.html

------datagrid在更新了ObservableCollection后,datagrid不更新,解决方法

dataGrid.Items.Refresh();

http://www.cnblogs.com/tt-0411/archive/2012/05/20/2510675.html

----------得到父控件

Label lb = VisualTreeHelper.GetChild(p, i) as Label;

---------------想绑定window2中定义的后台变量"Cons"

<ComboBox Width="80" DisplayMemberPath="Constr"
                                              ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor,
                                    AncestorType={x:Type local:Window2}}, Path=Cons}" SelectionChanged="ComboBox_SelectionChanged" />
                           

posted @ 2012-04-19 17:08  bielidefeng  阅读(181)  评论(0)    收藏  举报