0
why binding with list doesn't work?
when i bind itemsource with a list ..it does't work..why? like..datagrid.datacontext=MyList; but when i keep that list inside a class.. Myclass { ObserableCollection MyList } Myclass myclass=new myclass(); datagrid.datacontext=myclass; it works...
2 Answers
+ 1
datacontext cannot bind myclass type
0
can u elaborate ?