menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataGridComboBoxRenderer - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataGridComboBoxRenderer

    GridCellComboBoxRenderer is a class for cell renderer that displays SfDataGridLabel in a DataGridCell. The class provides strong typed override methods for initializing Content of the cell and arranging the cell visuals. Upon editing it displays SfComboBox for editing values.

    Updates to appearance and Content of child elements, creation and unloading of views will not trigger layout or render calls in parent canvas.

    Inheritance
    System.Object
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>
    DataGridComboBoxRenderer
    Implements
    IDataGridCellRenderer
    System.IDisposable
    Inherited Members
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.BeginEdit(RowColumnIndex, DataGridCell, DataGridColumn, Object)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CanUpdateBinding(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.ClearRecycleBin()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CommitCellValue(Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CurrentCellElement
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CurrentCellIndex
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CurrentCellRendererElement
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.DataGrid
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.Dispose()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.Dispose(Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.EndEdit(DataColumnBase, Object, Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.GetControlValue()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.HasCurrentCellState
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.IsEditable
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.IsFocusable
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.IsInEditing
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnCreateDisplayUIView()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnCreateEditUIView()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnEnteredEditMode(DataColumnBase, View)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnInitializeDisplayView(DataColumnBase, SfDataGridLabel)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnInitializeEditView(DataColumnBase, SfComboBox)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnPrepareViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnSetCellStyle(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnUnloadViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnUpdateCellValue(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.PrepareViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.RefreshDisplayValue(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.ResetCurrentCellState()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.ResumeBinding(DataColumnBase, SfDataGridLabel)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetCellStyle(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetControlValue(Object)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetCurrentCellState(RowColumnIndex, DataGridCell, Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetFocus(Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetFocus(View, Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SupportsRenderOptimization
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SuspendBinding(DataColumnBase, SfDataGridLabel)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UnloadViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UnwireEditUIElement(SfComboBox)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UpdateCellValue(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UpdateColumnInfo(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UpdateCurrentCellState(View, Boolean)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UpdateEditViewCellStyle(DataColumnBase, SfComboBox)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.WireEditUIElement(SfComboBox)
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class DataGridComboBoxRenderer : DataGridCellRenderer<SfDataGridLabel, SfComboBox>, IDataGridCellRenderer, IDisposable

    Constructors

    DataGridComboBoxRenderer()

    Initializes a new instance of the DataGridComboBoxRenderer class.

    Declaration
    public DataGridComboBoxRenderer()

    Methods

    GetControlValue()

    Returns the current cell value, only if the renderer's is true.

    Declaration
    public override object GetControlValue()
    Returns
    Type Description
    System.Object

    The current cell value.

    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.GetControlValue()

    OnCreateDisplayUIView()

    Creates a new SfDataGridLabel view and initializes it with the required properties.

    Declaration
    protected override SfDataGridLabel OnCreateDisplayUIView()
    Returns
    Type Description
    SfDataGridLabel

    A new view.

    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.OnCreateDisplayUIView()

    OnCreateEditUIView()

    Creates a new view for the edit mode of cell.

    Declaration
    protected override SfComboBox OnCreateEditUIView()
    Returns
    Type Description
    SfComboBox

    Returns the new view for edit mode of cell.

    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.OnCreateEditUIView()

    OnInitializeEditView(DataColumnBase, SfComboBox)

    Initialize the edit view and it's properties.

    Declaration
    public override void OnInitializeEditView(DataColumnBase dataColumn, SfComboBox view)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn
    SfComboBox view
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.OnInitializeEditView(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.Inputs.SfComboBox)

    OnUpdateCellValue(DataColumnBase)

    Updates the cell value of the associated column.

    Declaration
    protected override void OnUpdateCellValue(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.OnUpdateCellValue(Syncfusion.Maui.DataGrid.DataColumnBase)

    ResumeBinding(DataColumnBase, SfDataGridLabel)

    Resume the binding of a SfLabel view Syncfusion.Maui.DataGrid.DataColumn .

    Declaration
    protected override void ResumeBinding(DataColumnBase dataColumn, SfDataGridLabel view)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn
    SfDataGridLabel view
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.ResumeBinding(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.DataGrid.SfDataGridLabel)

    SetControlValue(Object)

    Set the current cell value, only if the renderer's is true.

    Declaration
    public override void SetControlValue(object value)
    Parameters
    Type Name Description
    System.Object value
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.SetControlValue(System.Object)

    SuspendBinding(DataColumnBase, SfDataGridLabel)

    Suspend the binding of a SfLabel view Syncfusion.Maui.DataGrid.DataColumn .

    Declaration
    protected override void SuspendBinding(DataColumnBase dataColumn, SfDataGridLabel view)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn
    SfDataGridLabel view
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.SuspendBinding(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.DataGrid.SfDataGridLabel)

    UnwireEditUIElement(SfComboBox)

    Unwires the edit element to the view.

    Declaration
    protected override void UnwireEditUIElement(SfComboBox editElement)
    Parameters
    Type Name Description
    SfComboBox editElement
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.UnwireEditUIElement(Syncfusion.Maui.Inputs.SfComboBox)

    UpdateEditViewCellStyle(DataColumnBase, SfComboBox)

    Updates the cell style of the edit element in a grid cell.

    Declaration
    protected override void UpdateEditViewCellStyle(DataColumnBase dataColumn, SfComboBox editView)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn
    SfComboBox editView
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.Inputs.SfComboBox>.UpdateEditViewCellStyle(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.Inputs.SfComboBox)

    Implements

    IDataGridCellRenderer
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved