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
CanFilterSuggestionsProperty
Bindable property for CanFilterSuggestions.
Declaration
public static readonly BindableProperty CanFilterSuggestionsProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
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.
DropDownWidthProperty
Bindable property for DropDownWidth.
Declaration
public static readonly BindableProperty DropDownWidthProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
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 |
ValueMemberPathProperty
Bindable property for ValueMemberPath.
Declaration
public static readonly BindableProperty ValueMemberPathProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
CanFilterSuggestions
Gets or sets a value indicating whether the auto complete suggestions can be filtered or not in the DataGridComboBoxColumn.
Declaration
public bool CanFilterSuggestions { get; set; }
Property Value
Type |
---|
System.Boolean |
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 |
DropDownWidth
Gets or sets a value that indicates the width of the drop down of the DataGridComboBox when entering edit mode.
Declaration
public int DropDownWidth { get; set; }
Property Value
Type |
---|
System.Int32 |
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 |
ValueMemberPath
Gets or sets the value member path of the DataGridComboBoxColumn that associates the column with a property in the data source.
The column in the Columns collection whose
will be updated with the corresponding value for the selected item in the picker, when editing in the DataGridComboBoxColumn is ended.
Declaration
public string ValueMemberPath { get; set; }
Property Value
Type |
---|
System.String |
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()