阅读背景:

DataGrid如何绑定到任何集合的属性?

来源:互联网 

I am making a WPF user control and I want similar behavior as DataGrid control in sense of binding. My question is: How does DataGrid know how to bind to any collection of type IEnumerable? For example: You can pass a DataView as ItemsSource, and you can also pass any object collection. How DataGrid decides whether to bind to a column of DataView, or to a property of object only by looking at this:I am making a WPF user control and I want simil




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: