1,首先拉一个DevExpress.XtraEditors.PopupContainerEdit控件,这个控件是一个Combobox类型的控件,

2,在接一个DevExpress.XtraEditors.PopupContainerControl 这个控件是下拉的一个面板,面板是空的,在他的面板上加一个DevExpress.XtraEditors.CheckedListBoxControl控件,在这个控件中加带有复选框的选项.

3,在PopupContainerEdit 控件的PopContorl属性里加一个DevExpress.XtraEditors.PopupContainerControl 控件

4,在PopupContainerEdit的QueryCloseUp事件中根据CheckedListBoxControl的选中状态来设置选中的值。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2021-11-25
  • 2020-09-30
  • 2021-11-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-10-07
  • 2021-05-28
  • 2021-11-21
相关资源
相似解决方案