Class DataGridCurrencyColumn
Represents a column that displays and edits currency values in SfDataGrid.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridCurrencyColumn : DataGridColumn, IDisposable, IFilterDefinition
Constructors
DataGridCurrencyColumn()
Initializes a new instance of the DataGridCurrencyColumn class.
Declaration
public DataGridCurrencyColumn()
Fields
AllowNullValueProperty
Identifies the AllowNullValue Bindable property.
Declaration
public static readonly BindableProperty AllowNullValueProperty
Field Value
| Type |
|---|
| BindableProperty |
CurrencySymbolProperty
Identifies the CurrencySymbol bindable property.
Declaration
public static readonly BindableProperty CurrencySymbolProperty
Field Value
| Type |
|---|
| BindableProperty |
NullValueProperty
Identifies the NullValue Bindable property./>
Declaration
public static readonly BindableProperty NullValueProperty
Field Value
| Type |
|---|
| BindableProperty |
Properties
AllowNullValue
Gets or sets a bool value indicating whether to commit null values to the DataGridCurrencyColumn. This is a bindable property.
Declaration
public bool AllowNullValue { get; set; }
Property Value
| Type |
|---|
| bool |
CurrencySymbol
Gets or sets the custom currency symbol. If null, uses the system culture's default currency symbol.
Declaration
public string? CurrencySymbol { get; set; }
Property Value
| Type |
|---|
| string |
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 |
|---|
| object |
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 |
|---|---|---|
| object | value |
Returns
| Type |
|---|
| object |
Overrides
SetConverterForDisplayBinding()
Sets the converter for the DisplayBinding of a column.
Declaration
protected override void SetConverterForDisplayBinding()