Class DataGridPickerColumn
Represents a SfDataGrid column that renders SfPicker SfPicker in Edit Mode.
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridPickerColumn : DataGridColumn, IDisposable
Constructors
DataGridPickerColumn()
Initializes a new instance of the DataGridPickerColumn class.
Declaration
public DataGridPickerColumn()
Fields
DisplayMemberPathProperty
Identifies the DisplayMemberPath bindable property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ItemsSourceProperty
Identifies the ItemsSource bindable property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ItemsSourceSelectorProperty
Identifies the ItemsSourceSelector property.
Declaration
public static readonly BindableProperty ItemsSourceSelectorProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ValueMemberPathProperty
Identifies the ValueMemberPath bindable property.
Declaration
public static readonly BindableProperty ValueMemberPathProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
DisplayMemberPath
Gets or sets the name of the property whose value to be displayed in the picker dropdown.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
Type |
---|
System.String |
ItemsSource
Gets or sets the collection of items to be displayed in the picker dropdown.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | A collection of items to be shown in the picker. |
ItemsSourceSelector
Gets or sets the items source selector that provides dynamic item sources based on the row data.
Declaration
public IItemsSourceSelector ItemsSourceSelector { get; set; }
Property Value
Type |
---|
IItemsSourceSelector |
ValueMemberPath
Gets or sets the name of the property on the data item in the ItemsSource that provides the value associated with the selected item in the Picker.
Declaration
public string ValueMemberPath { get; set; }
Property Value
Type |
---|
System.String |
Methods
GetFormattedValue(Object)
Gets the formatted value for display in the cell.
Declaration
public override object GetFormattedValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The raw value. |
Returns
Type | Description |
---|---|
System.Object | The formatted value for display. |
Overrides
SetConverterForDisplayBinding()
Sets the converter for the DisplayBinding of column.
Declaration
protected override void SetConverterForDisplayBinding()