选择和取消选择小格框. [英] select and unselect the ckeck boxes.

查看:77
本文介绍了选择和取消选择小格框.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

选择和取消选择列表视图中的所有复选框.列表视图包含从数据库中获取的复选框(例如mysql的检查/取消选中).我想要WPF中的答案

select and unselect all check boxes in a listview .The listview contain the check boxes taken from database (Like the check/uncheck of mysql).I want the answer in WPF

推荐答案

请检查问题代码中的答案,以选中和取消选中列表视图中的所有复选框以及如何保存记录到选定的数据库中(在C#中) [ ^ ].您可以找到工作代码.

您可以看到此演示 [选中/取消选中所有复选框中的多个复选框在wpf [ ^ ]
2. WPF:选择/单击全选"复选框控件,取消选择ListView的数据项 [
Please check the answers in the question code to select and deselect all the checkbox in listview and how to save the records to database(In C#) which is selected[^]. You can find working codes.

You can see this demo[^] given in the first answer to check how it is working

Thanks...

Updated:-
Added for listview in WPF
Please check the below links for the implementations.
1. Check/Uncheck all checkbox for a number of checkboxes in wpf[^]
2. WPF : Select/Deselect ListView''s Data items on click of Select All checkbox control[^]


这篇关于选择和取消选择小格框.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆