Class DataGridComboBoxColumn
to do
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridComboBoxColumn : DataGridColumn, IDisposable
Constructors
DataGridComboBoxColumn()
Initializes a new instance of the DataGridComboBoxColumn class.
Declaration
public DataGridComboBoxColumn()
Fields
DisplayMemberPathProperty
Identifies the DisplayMemberPath Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
This Microsoft.Maui.Controls.BindableProperty is read-only.
IsEditableProperty
Identifies the IsEditableMode Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty IsEditableProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ItemsSourceProperty
Identifies the ItemsSource Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
This Microsoft.Maui.Controls.BindableProperty is read-only.
ItemsSourceSelectorProperty
Identifies the
Declaration
public static readonly BindableProperty ItemsSourceSelectorProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the
ShowClearButtonProperty
Identifies the ShowClearButton Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ShowClearButtonProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
This Microsoft.Maui.Controls.BindableProperty is read-only.
SuggestionModeProperty
Identifies the SuggestionMode Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SuggestionModeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
DisplayMemberPath
Gets or sets the display member path that associates the column with a property in the data source. The property of the collection bound to the display member path will be the Content of the grid cell in normal and editing mode. But the value corresponding to the given property in the data source will be displayed in the picker in edit mode.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
Type |
---|
System.String |
IsEditableMode
Gets or sets a value indicating whether the user can edit the cell value by typing through editor of DataGridComboBoxColumn.
Declaration
public bool IsEditableMode { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemsSource
Gets or sets a collection used to generate the content of DataGridComboBoxColumn.
Declaration
public IEnumerable<object> ItemsSource { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IEnumerable<System.Object> |
ItemsSourceSelector
Gets or Sets the different itemsSource for each row in DataGridComboBoxColumn.
Declaration
public IItemsSourceSelector ItemsSourceSelector { get; set; }
Property Value
Type |
---|
IItemsSourceSelector |
ShowClearButton
Gets or sets a value indicating whether to display the clear text button when the grid cell of the comboBox column enters edit mode in UWP platform.
Declaration
public bool ShowClearButton { get; set; }
Property Value
Type |
---|
System.Boolean |
SuggestionMode
Gets or sets SuggestionMode to filter suggestions.
Declaration
public ComboBoxTextSearchMode SuggestionMode { get; set; }
Property Value
Type |
---|
ComboBoxTextSearchMode |
Methods
GetFormattedValue(Object)
Gets the Formatted value for the Content of a record cell in the column based on the Format and CultureInfo of the column.
Declaration
public override object GetFormattedValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type |
---|
System.Object |
Overrides
SetConverterForDisplayBinding()
Sets the converter for the
Declaration
protected override void SetConverterForDisplayBinding()