Skip to content

MultiColumnComboBox

DianeXceed edited this page Jun 4, 2018 · 3 revisions

MultiColumnComboBox

Only available in the Plus Edition

Derives from ComboBox

ComboBox control that displays data in columns by using a DataGrid.

Remarks

This control uses the DataGrid control included in the toolkit (Xceed Toolkit for WPF), which is a stripped version of the full DataGrid (Xceed DataGrid for WPF).

If the MultiColumnComboBox is defined beside a full DataGrid in an application, references to Xceed.Wpf.DataGrid.dll (from Xceed Toolkit for WPF) and Xceed.Wpf.DataGrid.v#.#.dll (from Xceed Datagrid for WPF) will be necessary. You will be able to define the 2 controls in XAML, but when trying to set some properties, the XAML Parser will not act as expected.

In this situation, you should set the properties of the MultiColumnComboBox and the Full DataGrid in code-behind. Since the DataGrid in the Toolkit is a stripped version of the full DataGrid, they will have the same namespaces and property names. A solution is to use aliases to differentiate the assemblies.

Properties

Property Description
AutoCreateColumns Gets or sets a value indicating whether columns should automatically be created when the control is bound to an ItemsSource.
Columns Gets a list of columns to display in the control.
DataGridStyle Gets or sets the style to apply to the DataGridControl that will be displayed in the dropdown list.
ShowColumnHeaders Gets or sets whether the column headers (ColumnManagerRow) will be displayed at the top of the datagrid control.
ShowGroupByControl Gets or sets whether the GroupByControl will be displayed at the top of the datagrid.
Clone this wiki locally