alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    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
    object
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>
    DataGridComboBoxRenderer
    Implements
    IDataGridCellRenderer
    IDisposable
    Inherited Members
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.BeginEdit(RowColumnIndex, DataGridCell, DataGridColumn, object)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CanUpdateBinding(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CanValidate()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.ClearRecycleBin()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CommitCellValue(bool)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CurrentCellElement
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CurrentCellIndex
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.CurrentCellRendererElement
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.DataGrid
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.Dispose()
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.Dispose(bool)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.EndEdit(DataColumnBase, object, bool)
    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>.SetCellBackground(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetCellStyle(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetControlValue(object)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetCurrentCellState(RowColumnIndex, DataGridCell, bool)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetFocus(bool)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetFocus(View, bool)
    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, bool)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UpdateEditViewCellStyle(DataColumnBase, SfComboBox)
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.WireEditUIElement(SfComboBox)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 DataGridCellRendererBase.HasCurrentCellState is true.

    Declaration
    [RequiresUnreferencedCode("The GetControlValue method is not trim compatible")]
    public override object? GetControlValue()
    Returns
    Type Description
    object

    The current cell value.

    Overrides
    DataGridCellRenderer<SfDataGridLabel, 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 LaDataGridCellViewbel view.

    Overrides
    DataGridCellRenderer<SfDataGridLabel, 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
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnCreateEditUIView()

    OnInitializeEditView(DataColumnBase, SfComboBox)

    Initialize the edit view and it's properties.

    Declaration
    [RequiresUnreferencedCode("The OnInitializeEditView method is not trim compatible")]
    public override void OnInitializeEditView(DataColumnBase dataColumn, SfComboBox view)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    SfComboBox view
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.OnInitializeEditView(DataColumnBase, SfComboBox)

    OnUpdateCellValue(DataColumnBase)

    Updates the cell value of the associated column.

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

    ResumeBinding(DataColumnBase, SfDataGridLabel)

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

    Declaration
    [UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The ResumeBinding method is not trim compatible")]
    protected override void ResumeBinding(DataColumnBase dataColumn, SfDataGridLabel view)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    SfDataGridLabel view
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.ResumeBinding(DataColumnBase, SfDataGridLabel)

    SetControlValue(object)

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

    Declaration
    public override void SetControlValue(object value)
    Parameters
    Type Name Description
    object value
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SetControlValue(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
    DataColumnBase dataColumn
    SfDataGridLabel view
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.SuspendBinding(DataColumnBase, SfDataGridLabel)

    UnwireEditUIElement(SfComboBox)

    Unwires the edit element to the view.

    Declaration
    [UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The ResumeBinding method is not trim compatible")]
    protected override void UnwireEditUIElement(SfComboBox editElement)
    Parameters
    Type Name Description
    SfComboBox editElement
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UnwireEditUIElement(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
    DataColumnBase dataColumn
    SfComboBox editView
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfComboBox>.UpdateEditViewCellStyle(DataColumnBase, SfComboBox)

    Implements

    IDataGridCellRenderer
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved