alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class NumericColumnValueConverter

    A converter to apply for the formatting for the numeric columns.

    Inheritance
    object
    NumericColumnValueConverter
    Implements
    IValueConverter
    Inherited Members
    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 NumericColumnValueConverter : IValueConverter

    Constructors

    NumericColumnValueConverter(DataGridNumericColumn)

    Initializes a new instance of the NumericColumnValueConverter class.

    Declaration
    public NumericColumnValueConverter(DataGridNumericColumn column)
    Parameters
    Type Name Description
    DataGridNumericColumn column

    Methods

    Convert(object?, Type, object?, CultureInfo)

    Formats the given value based on the CultureInfo of the NumericColumn.

    Declaration
    public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
    Parameters
    Type Name Description
    object value
    Type targetType
    object parameter
    CultureInfo culture
    Returns
    Type
    object

    ConvertBack(object?, Type, object?, CultureInfo)

    Formats the given value based on the CultureInfo of the NumericColumn.

    Declaration
    public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
    Parameters
    Type Name Description
    object value
    Type targetType
    object parameter
    CultureInfo culture
    Returns
    Type
    object

    ConvertToFormat(DataGridColumn, decimal)

    Convert column value to numeric format.

    Declaration
    protected string ConvertToFormat(DataGridColumn column, decimal columnValue)
    Parameters
    Type Name Description
    DataGridColumn column
    decimal columnValue
    Returns
    Type
    string

    Implements

    Microsoft.Maui.Controls.IValueConverter
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved