Class SerializableDataGridNumericColumn
Represents a class that is used to serialize and deserialize DataGridNumericColumn property settings.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
[DataContract(Name = "DataGridNumericColumn")]
public class SerializableDataGridNumericColumn : SerializableDataGridColumn
Constructors
SerializableDataGridNumericColumn()
Declaration
public SerializableDataGridNumericColumn()
Properties
AllowNullValue
Gets or sets a System.Boolean value indicating whether to commit null values to the DataGridNumericColumn.
Declaration
[DataMember(EmitDefaultValue = false)]
public bool AllowNullValue { get; set; }
Property Value
| Type |
|---|
| bool |
Maximum
Gets or sets the maximum value constraint to the DataGridNumericColumn.
Declaration
[DataMember(EmitDefaultValue = false)]
public decimal Maximum { get; set; }
Property Value
| Type |
|---|
| decimal |
Minimum
Gets or sets the minimum value constraint to the DataGridNumericColumn.
Declaration
[DataMember(EmitDefaultValue = false)]
public decimal Minimum { get; set; }
Property Value
| Type |
|---|
| decimal |
NullValue
Gets or sets an object that is displayed instead of null value if the cell value is null, provided that AllowNullValue is enabled to the DataGridNumericColumn.
Declaration
[DataMember(EmitDefaultValue = false)]
public object? NullValue { get; set; }
Property Value
| Type |
|---|
| object |
NumberDecimalDigits
Gets or sets the number of decimal places to use in numeric values.
Declaration
[DataMember(EmitDefaultValue = false)]
public int NumberDecimalDigits { get; set; }
Property Value
| Type |
|---|
| int |
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
[DataMember(EmitDefaultValue = false)]
public string? Placeholder { get; set; }
Property Value
| Type |
|---|
| 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
[DataMember(EmitDefaultValue = false)]
public bool ShowClearButton { get; set; }
Property Value
| Type |
|---|
| bool |