Syncfusion.SfDataGrid.XForms
Members  Example 
Syncfusion.SfDataGrid.XForms Namespace : GridPickerColumn Class

GridPickerColumn Class

Represents a SfDataGrid column that hosts Syncfusion.SfDataGrid.XForms.Renderers.GridPicker in its cells.
Object Model
GridPickerColumn ClassIItemsSourceSelector Interface
Syntax
public class GridPickerColumn : GridColumn 
Remarks
Use GridPickerColumn to display columns of picker data as a Syncfusion.SfDataGrid.XForms.Renderers.GridPicker.

To create a column, add it to the SfDataGrid.Columns collection. To populate the column, bind the column to the data by using the DisplayBinding property. The Binding property is applied to the Syncfusion.SfDataGrid.XForms.Renderers.GridPicker view created in the column. The Xamarin.Forms.BindableObject.BindingContext for the view in each cell is the data item for the row the cell is in. Therefore, to set up the binding you only have to set the Xamarin.Forms.Binding.Path. Optionally, you can specify a Xamarin.Forms.Binding.Converter if your data source and target are different types.

Example
<sfGrid:SfDataGrid.Columns>
   <sfgrid:GridPickerColumn BindingContext = "{x:Reference viewModel}"
                            HeaderText="Dealer Name"                                 
                            ItemsSource="{Binding CustomerNames}"                                 
                            MappingName="DealerName"/>
</sfGrid:SfDataGrid.Columns>
Inheritance Hierarchy

System.Object
   Xamarin.Forms.BindableObject
      Syncfusion.SfDataGrid.XForms.GridColumn
         Syncfusion.SfDataGrid.XForms.GridPickerColumn

AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.46

See Also