ListViewItem Checked vs. Selected [英] ListViewItem Checked vs. Selected

查看:19
本文介绍了ListViewItem Checked vs. Selected的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于哪些操作,我应该使用 Checkbox 还是 ListViewItemSelectedItem?我不禁认为这只是归结为个人喜好,但话说回来,我仍然不知道.

For which actions should I use Checkbox vs. SelectedItem of a ListViewItem? I can't help but think that it just comes down to personal preference, but then again, I still don't know.

推荐答案

如果您选择其他项目,选中的项目不会失去其检查".可以使用 control/shift 对所选项目进行分组,但是当您在没有 shift/control 的情况下单击另一个项目时,所有其他项目都将被取消选择.

A checked item won't loose its "check" if you select other items. Selected items can be grouped using control/shift, but when you click on another item without shift/control, all other items will be deselected.

我认为可以安全地假设检查的项目是一种更持久的体验.它只能通过物理取消"检查来撤消.

I think its safe to assume that the checked items are a more persistent experience. It can only be undone by physically "un" checking it.

这篇关于ListViewItem Checked vs. Selected的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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