阅读背景:

当AutoGenerateColumns =“True”使用DataGrid时,为什么DataAnnotations 被忽略

来源:互联网 

I'm using the WPF DataGrid to bind to a collection of a custom class. Using AutoGenerateColumns="True" in the grid XAML, the grid is created and populated just fine, but the headings are the property names, as one would expect.I'm using the WPF DataGrid to bind to a collect




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

分享到: