alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class DataGridPercentCellRenderer

    A cell renderer that displays percentage values in DataGridCell. Supports dual display modes: PercentMode (multiply by 100) and DoubleMode (display as-is).

    Inheritance
    object
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>
    DataGridPercentCellRenderer
    Implements
    IDataGridCellRenderer
    IDisposable
    Inherited Members
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.BeginEdit(RowColumnIndex, DataGridCell, DataGridColumn, object)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.CanUpdateBinding(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.CanValidate()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.ClearRecycleBin()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.CommitCellValue(bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.CurrentCellElement
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.CurrentCellIndex
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.CurrentCellRendererElement
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.DataGrid
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.Dispose()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.Dispose(bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.EndEdit(DataColumnBase, object, bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.GetControlValue()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.HasCurrentCellState
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.IsEditable
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.IsFocusable
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.IsInEditing
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnCreateDisplayUIView()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnCreateEditUIView()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnEnteredEditMode(DataColumnBase, View)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnInitializeDisplayView(DataColumnBase, SfDataGridLabel)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnInitializeEditView(DataColumnBase, SfNumericEntry)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnPrepareViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnSetCellStyle(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnUnloadViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnUpdateCellValue(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.PrepareViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.RefreshDisplayValue(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.ResetCurrentCellState()
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.ResumeBinding(DataColumnBase, SfDataGridLabel)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetCellBackground(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetCellStyle(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetControlValue(object)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetCurrentCellState(RowColumnIndex, DataGridCell, bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetFocus(bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetFocus(View, bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SupportsRenderOptimization
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SuspendBinding(DataColumnBase, SfDataGridLabel)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UnloadViews(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UnwireEditUIElement(SfNumericEntry)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UpdateCellValue(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UpdateColumnInfo(DataColumnBase)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UpdateCurrentCellState(View, bool)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UpdateEditViewCellStyle(DataColumnBase, SfNumericEntry)
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.WireEditUIElement(SfNumericEntry)
    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 DataGridPercentCellRenderer : DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>, IDataGridCellRenderer, IDisposable

    Constructors

    DataGridPercentCellRenderer()

    Initializes a new instance of the DataGridPercentCellRenderer class.

    Declaration
    public DataGridPercentCellRenderer()

    Methods

    GetControlValue()

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

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

    The current cell value (numeric, not formatted).

    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.GetControlValue()

    OnCreateDisplayUIView()

    Creates the view for the display UI.

    Declaration
    protected override SfDataGridLabel OnCreateDisplayUIView()
    Returns
    Type
    SfDataGridLabel
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnCreateDisplayUIView()

    OnCreateEditUIView()

    Creates a new view for the edit mode of cell.

    Declaration
    protected override SfNumericEntry OnCreateEditUIView()
    Returns
    Type
    SfNumericEntry
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.OnCreateEditUIView()

    OnInitializeEditView(DataColumnBase, SfNumericEntry)

    Initializes the edit column element with the current percentage value formatted according to PercentEditMode.

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

    OnUpdateCellValue(DataColumnBase)

    Called when the cell value is updated.

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

    ResumeBinding(DataColumnBase, SfDataGridLabel)

    Resume the binding of a SfLabel view for display.

    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, SfNumericEntry>.ResumeBinding(DataColumnBase, SfDataGridLabel)

    SetControlValue(object)

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

    Declaration
    public override void SetControlValue(object value)
    Parameters
    Type Name Description
    object value

    The numeric value to be set to the current cell.

    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SetControlValue(object)

    SuspendBinding(DataColumnBase, SfDataGridLabel)

    Suspend the binding of a SfLabel view for display.

    Declaration
    protected override void SuspendBinding(DataColumnBase dataColumn, SfDataGridLabel view)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    SfDataGridLabel view
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.SuspendBinding(DataColumnBase, SfDataGridLabel)

    UnwireEditUIElement(SfNumericEntry)

    Unwires the edit element to the view.

    Declaration
    protected override void UnwireEditUIElement(SfNumericEntry editElement)
    Parameters
    Type Name Description
    SfNumericEntry editElement
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UnwireEditUIElement(SfNumericEntry)

    UpdateEditViewCellStyle(DataColumnBase, SfNumericEntry)

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

    Declaration
    protected override void UpdateEditViewCellStyle(DataColumnBase dataColumn, SfNumericEntry editView)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    SfNumericEntry editView
    Overrides
    DataGridCellRenderer<SfDataGridLabel, SfNumericEntry>.UpdateEditViewCellStyle(DataColumnBase, SfNumericEntry)

    Implements

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