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 |
|---|
| Microsoft.Maui.Controls.BindableProperty |
CurrencySymbolProperty
Identifies the CurrencySymbol bindable property.
Declaration
public static readonly BindableProperty CurrencySymbolProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
NullValueProperty
Identifies the NullValue Bindable property./>
Declaration
public static readonly BindableProperty NullValueProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
AllowNullValue
Gets or sets a System.Boolean value indicating whether to commit null values to the DataGridCurrencyColumn. This is a bindable property.
Declaration
public bool AllowNullValue { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
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 |
|---|
| System.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 |
|---|
| System.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 |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| System.Object |
Overrides
SetConverterForDisplayBinding()
Sets the converter for the DisplayBinding of a column.
Declaration
protected override void SetConverterForDisplayBinding()