[英]Equivalent to AbstractTableModel in c#
如标题所述,在c#中是否有与AbstractTableModel等效的对象,或者在c#中是否存在另一种更好的解决方案?
After working with Java Swing and C# WPF and SilverLight, IMHO there is no equivalent of AbstractTableModel
in .Net. 在使用Java Swing,C#WPF和SilverLight之后,恕我直言,.Net中没有
AbstractTableModel
等效项。 You simply set the ItemsSource
property and use binding to map columms to properties. 您只需设置
ItemsSource
属性,并使用绑定将列映射到属性。 You can use PagedCollectionView
to have some features like sorting and grouping, but the model still is a list of objects, so you have flexibility to pass any kind of collection of objects to the table. 您可以使用
PagedCollectionView
来具有诸如排序和分组之类的某些功能,但是模型仍然是对象列表,因此您可以灵活地将任何类型的对象集合传递给表。
Why do you want to use AbstractTableModel
in C#, wich feature do you want to use or implement? 为什么要在C#中使用
AbstractTableModel
,要使用还是实现哪些功能?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.