This example demonstrates how to create a checked combo box. To do this, set the editor's StyleSettings property to CheckedComboBoxStyleSettings:
<dxe:ComboBoxEdit.StyleSettings>
<dxe:CheckedComboBoxStyleSettings />
</dxe:ComboBoxEdit.StyleSettings>
When you enable multiple selection in the ComboBoxEdit, its EditValue property must contain an object of the List<object>
type. In this example, the SelectedItemsConverter
converts the collection of selected Customers
to List<object>
and back.
- Customer.cs (VB: Customer.vb)
- SelectedItemsConverter.cs (VB: SelectedItemsConverter.vb)
- MyViewModel.cs (VB: MyViewModel.vb)
- Window1.xaml (VB: Window1.xaml)
- ComboBoxEdit
- ComboBoxEdit Operation Modes
- How to implement multi-select in DevExpress WPF Data Editors (ComboBoxEdit, LookUpEdit, ListBoxEdit)
- How to Apply Style Settings to the ComboBoxEdit
- How to create ListBoxEdit, CheckedListBoxEdit and RadioListBoxEdit
- WPF Data Grid - Assign a ComboBox Editor to a Column
(you will be redirected to DevExpress.com to submit your response)