menu

MAUI

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

    Show / Hide Table of Contents

    Class DataGridTextBoxCellRenderer

    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.

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

    Constructors

    DataGridTextBoxCellRenderer()

    ToDo

    Declaration
    public DataGridTextBoxCellRenderer()

    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.DataGrid.SfDataGridEntry>.GetControlValue()

    OnCreateDisplayUIView()

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

    Declaration
    protected override SfDataGridLabel OnCreateDisplayUIView()
    Returns
    Type
    SfDataGridLabel
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.DataGrid.SfDataGridEntry>.OnCreateDisplayUIView()

    OnCreateEditUIView()

    ToDo

    Declaration
    protected override SfDataGridEntry OnCreateEditUIView()
    Returns
    Type
    SfDataGridEntry
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.DataGrid.SfDataGridEntry>.OnCreateEditUIView()

    OnInitializeEditView(DataColumnBase, SfDataGridEntry)

    Initializes the edit column element of a Syncfusion.Maui.DataGrid.DataColumn object with the given view and required values.

    Declaration
    public override void OnInitializeEditView(DataColumnBase dataColumn, SfDataGridEntry view)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn

    The dataColumn containing the details of the column.

    SfDataGridEntry view

    The child view to be hosted inside the column element.

    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.DataGrid.SfDataGridEntry>.OnInitializeEditView(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.DataGrid.SfDataGridEntry)

    OnUnloadViews(DataColumnBase)

    Called from after a cell is scrolled out of view. overrides this method and either removes the cell renderer visuals from the parent canvas or hide them and reuse it later in same canvas depending on whether was set.

    Declaration
    protected override void OnUnloadViews(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn

    The dataColumn containing the details of the column.

    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.DataGrid.SfDataGridEntry>.OnUnloadViews(Syncfusion.Maui.DataGrid.DataColumnBase)

    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.DataGrid.SfDataGridEntry>.OnUpdateCellValue(Syncfusion.Maui.DataGrid.DataColumnBase)

    ResumeBinding(DataColumnBase, SfDataGridLabel)

    ToDo

    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.DataGrid.SfDataGridEntry>.ResumeBinding(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.DataGrid.SfDataGridLabel)

    SetControlValue(Object)

    ToDo

    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.DataGrid.SfDataGridEntry>.SetControlValue(System.Object)

    SuspendBinding(DataColumnBase, SfDataGridLabel)

    ToDo

    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.DataGrid.SfDataGridEntry>.SuspendBinding(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.DataGrid.SfDataGridLabel)

    UnwireEditUIElement(SfDataGridEntry)

    Unwires the edit element to the view.

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

    UpdateEditViewCellStyle(DataColumnBase, SfDataGridEntry)

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

    Declaration
    protected override void UpdateEditViewCellStyle(DataColumnBase dataColumn, SfDataGridEntry editView)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn

    The data column.

    SfDataGridEntry editView

    The edit view hosted inside a column element.

    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Syncfusion.Maui.DataGrid.SfDataGridLabel, Syncfusion.Maui.DataGrid.SfDataGridEntry>.UpdateEditViewCellStyle(Syncfusion.Maui.DataGrid.DataColumnBase, Syncfusion.Maui.DataGrid.SfDataGridEntry)

    Implements

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