问题描述
任何人都可以建议一个很好的实现一个通用的收集类来实现 IBindingListView
& IBindingList
接口,并提供过滤和搜索功能?
我看到我当前的选项为:
- 使用其他人编写和测试的课程
- 继承自
BindingList< ; T>
,并实现IBindingListView
接口 - 从头开始编写一个自定义集合,实现
IBindingListView
和IBindingList
。
显然,第一个选择是我的首选。
谢谢。
我使用和建立在几年前发现的一个实现和旧的MSDN论坛帖子,但最近我再次搜索,并找到一个名为。它看起来很不错,我还没有把它拉出来替换我的黑客版本。
Can anyone suggest a good implementation of a generic collection class that implements the IBindingListView
& IBindingList
interfaces and provides Filtering and Searching capabilities?
I see my current options as:
- Using a class that someone else has written and tested
- Inheriting from
BindingList<T>
, and implementing theIBindingListView
interfaces - Write a custom collection from scratch, implementing
IBindingListView
andIBindingList
.
Obviously, the first option is my preferred choice.
Thank you.
I used and built upon an implementation I found on and old MSDN forum post from a few years ago, but recently I searched around again and found a sourceforge project called BindingListView. It looks pretty nice, I just haven't pulled it in to replace my hacked version yet.
这篇关于通用IBindingListView实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!