多选组合框 [英] muti select combobox

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

问题描述

我想在组合框中选择两个以上的项目

解决方案

看看这个:使用通用抽象PopUp类的多选下拉列表 [ ^ ]

它在C#中,但一切都很明显。


WPF



1. 多选WPF组合框 [ ^ ]。

2. WPF中的多选组合框 [ ^ ]。



Winforms



1. CheckBox ComboBox扩展ComboBox类及其项目 [ ^ ]。

2. 带有CheckedListBox作为下拉列表的ComboBox [ ^ ]


< blockquote>尝试从属性窗口的列表框的选择模式属性中使用ListBox和MultiSelect属性= 1(简单)或2(扩展)


i want to select more than two items in combobox

解决方案

Have a look at this: A multi-selection Drop Down List using a generic Abstract PopUp class[^]
It's in C#, but it's all pretty obvious.


WPF

1. A WPF Combo Box with Multiple Selection[^].
2. Multi Select ComboBox in WPF[^].

Winforms

1. CheckBox ComboBox Extending the ComboBox Class and Its Items[^].
2. A ComboBox with a CheckedListBox as a Dropdown[^]


Try to use ListBox and MultiSelect property = 1 (Simple) or 2 (Extended) from selection mode property of list box from property window


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

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