menu

MAUI

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

    Show / Hide Table of Contents

    Class DataGridNumericColumn

    A column which is used to handle the numeric values.

    Inheritance
    System.Object
    DataGridColumn
    DataGridNumericColumn
    Implements
    System.IDisposable
    Inherited Members
    DataGridColumn.ActualWidth
    DataGridColumn.ActualWidthProperty
    DataGridColumn.AllowEditing
    DataGridColumn.AllowEditingProperty
    DataGridColumn.AllowFocus
    DataGridColumn.AllowFocusProperty
    DataGridColumn.AllowSorting
    DataGridColumn.AllowSortingProperty
    DataGridColumn.CanEditCell()
    DataGridColumn.CellPadding
    DataGridColumn.CellPaddingProperty
    DataGridColumn.CellStyle
    DataGridColumn.CellStyleProperty
    DataGridColumn.CellTextAlignment
    DataGridColumn.CellTextAlignmentProperty
    DataGridColumn.CellType
    DataGridColumn.ColumnWidthMode
    DataGridColumn.ColumnWidthModeProperty
    DataGridColumn.CultureInfo
    DataGridColumn.CultureInfoProperty
    DataGridColumn.DisplayBinding
    DataGridColumn.Dispose()
    DataGridColumn.Dispose(Boolean)
    DataGridColumn.Format
    DataGridColumn.FormatProperty
    DataGridColumn.GroupMode
    DataGridColumn.GroupModeProperty
    DataGridColumn.HeaderLineBreakMode
    DataGridColumn.HeaderLineBreakModeProperty
    DataGridColumn.HeaderPadding
    DataGridColumn.HeaderPaddingProperty
    DataGridColumn.HeaderStyle
    DataGridColumn.HeaderStyleProperty
    DataGridColumn.HeaderTemplate
    DataGridColumn.HeaderTemplateProperty
    DataGridColumn.HeaderText
    DataGridColumn.HeaderTextAlignment
    DataGridColumn.HeaderTextAlignmentProperty
    DataGridColumn.HeaderTextProperty
    DataGridColumn.LineBreakMode
    DataGridColumn.LineBreakModeProperty
    DataGridColumn.LoadUIView
    DataGridColumn.MappingName
    DataGridColumn.MappingNameProperty
    DataGridColumn.MaximumWidth
    DataGridColumn.MaximumWidthProperty
    DataGridColumn.MinimumWidth
    DataGridColumn.MinimumWidthProperty
    DataGridColumn.SortMode
    DataGridColumn.SortModeProperty
    DataGridColumn.UseBindingValue
    DataGridColumn.UseBindingValueProperty
    DataGridColumn.ValueBinding
    DataGridColumn.Visible
    DataGridColumn.VisibleProperty
    DataGridColumn.Width
    DataGridColumn.WidthProperty
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class DataGridNumericColumn : DataGridColumn, IDisposable

    Constructors

    DataGridNumericColumn()

    Initializes a new instance of the DataGridNumericColumn class.

    Declaration
    public DataGridNumericColumn()

    Fields

    AllowNullValueProperty

    Bindable property of AllowNullValue.

    Declaration
    public static readonly BindableProperty AllowNullValueProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    MaximumProperty

    Bindable property for Maximum

    Declaration
    public static readonly BindableProperty MaximumProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    MinimumProperty

    Bindable property for Minimum

    Declaration
    public static readonly BindableProperty MinimumProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    NullValueProperty

    Bindable property for NullValue

    Declaration
    public static readonly BindableProperty NullValueProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    PlaceholderProperty

    Bindable property for Placeholder

    Declaration
    public static BindableProperty PlaceholderProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ShowClearButtonProperty

    Bindable property for ShowClearButton

    Declaration
    public static readonly BindableProperty ShowClearButtonProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    AllowNullValue

    Gets or sets a System.Boolean value indicating whether to commit null values to the DataGridNumericColumn. This is a bindable property.

    Declaration
    public bool AllowNullValue { get; set; }
    Property Value
    Type
    System.Boolean

    Maximum

    Gets or sets the maximum value constraint of the column.

    Declaration
    public Decimal Maximum { get; set; }
    Property Value
    Type Description
    System.Decimal

    The maximum value constraint of the column.

    Minimum

    Gets or sets the minimum value constraint of the column.

    Declaration
    public Decimal Minimum { get; set; }
    Property Value
    Type Description
    System.Decimal

    The minimum value constraint of the column.

    NullValue

    Gets or sets an object that is displayed instead of null value if the cell value is null, provided that AllowNullValue is enabled.

    Declaration
    public object NullValue { get; set; }
    Property Value
    Type
    System.Object

    Placeholder

    Gets or sets a string that is displayed instead of null value if the cell value is null, provided that AllowNullValue is enabled.

    Declaration
    public string Placeholder { get; set; }
    Property Value
    Type
    System.String

    ShowClearButton

    Gets or sets a value indicating whether to display the clear text button when the grid cell of the numeric column enters edit mode.

    Declaration
    public bool ShowClearButton { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    GetFormattedValue(Object)

    Gets the Formatted value for the Content of a record cell in the column based on the Format of the column.

    Declaration
    public override object GetFormattedValue(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    System.Object
    Overrides
    DataGridColumn.GetFormattedValue(Object)

    SetConverterForDisplayBinding()

    Sets the converter for the DisplayBinding of a column.

    Declaration
    protected override void SetConverterForDisplayBinding()
    Overrides
    DataGridColumn.SetConverterForDisplayBinding()

    Implements

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