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 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 DisplayMemberPath property. The SelectedValuePath property specifies the property path used to get the value of the selected item.
XAML |
<Grid:GridComboBoxColumn FieldName="UserId" Header="To" ItemsSource="{Binding Path=Users, Source={StaticResource outlookDataViewModel}}" SelectedValuePath="Id" DisplayMemberPath="Name"/>
|
To learn more, see Data Editing.
System.Object
System.MarshalByRefObject
System.__ComObject
System.Runtime.InteropServices.WindowsRuntime.RuntimeClass
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
ColumnBase
GridColumnBase
GridTextColumnBase
GridComboBoxColumn