DataGridViewFilterStrip:附加到DataGridView以提供用于对业务对象列表进行排序和过滤的ContextMenuStrip

上传者: 42134054 | 上传时间: 2022-08-27 15:58:49 | 文件大小: 31KB | 文件类型: ZIP
C#
FilterStrip 附加到DataGridView,以提供用于对业务对象列表进行排序和过滤的ContextMenuStrip。 它与DataGridContextMenuHelper一起提供了一个ContextMenu,可在其中按实际单元格的值过滤DataGridView。 可以将其他(用户定义)过滤器附加到业务模型的每个DataProperty。 BindingList实现提供了过滤器机制,该实现还通过单击列的标题来提供核心排序。 当排序不起作用时,请检查列属性,SortMode必须为“自动”。 当列的数据类型为布尔值时,设计器默认将SortMode设置为“ NotSortable”。 用法 请看一下TestApp。 这些步骤(没有用户定义的过滤器)是: private FilterStrip filterStrip; // and in the met

文件下载

资源详情

[{"title":"( 26 个子文件 31KB ) DataGridViewFilterStrip:附加到DataGridView以提供用于对业务对象列表进行排序和过滤的ContextMenuStrip","children":[{"title":"DataGridViewFilterStrip-master","children":[{"title":"LICENSE <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"DataGridViewFilterStrip","children":[{"title":"TestApp","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"TestApp.csproj <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"DataSources","children":[{"title":"Person.datasource <span style='color:#111;'> 568B </span>","children":null,"spread":false}],"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DataGridViewFilterStrip","children":[{"title":"ObjectBindingList_Part.cs <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"DataGridContextMenuHelper.cs <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"FilterStrip.cs <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"DataGridViewFilterStrip.csproj <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"ObjectBindingList_Basis.cs <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"TestData","children":[{"title":"BusinessObject.cs <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"TestData.csproj <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"DataGridViewFilterStrip.sln <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明