GridComboBoxColumn Class
Represents a column that represents lists.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Remarks
There are five column types used to present specific data types (Boolean, Date-Time, Numeric, Lists and Text), one column type that provides masking capabilities for text values, and one column type for custom data presentation via templates. Cell values are edited using data editors. Each column type stores specific settings responsible for the data editor’s functionality. A cell’s editor is created when an end-user starts to edit the cell’s value and is automatically destroyed when editing is completed. This dramatically increases the application’s performance.
Use the GridComboBoxColumn.ItemsSource property to specify the source of combo box items. The property name in the items source whose contents are to be displayed by the items in a combo box is specified by the GridComboBoxColumn.DisplayMemberPath property. The GridComboBoxColumn.SelectedValuePath property specifies the property path used to get the value of the selected item.
<Grid:GridComboBoxColumn FieldName="UserId" Header="To" ItemsSource="{Binding Path=Users, Source={StaticResource outlookDataViewModel}}" SelectedValuePath="Id" DisplayMemberPath="Name"/>
To learn more, see Data Editing.