Class GridCurrencyColumn
Represents a column that displays the currency values in its cell content.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridCurrencyColumn : GridEditorColumn, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Constructors
GridCurrencyColumn()
Initializes a new instance of GridCurrencyColumn class.
Declaration
public GridCurrencyColumn()
Fields
CurrencyDecimalDigitsProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyDecimalDigits dependency property.
Declaration
public static readonly DependencyProperty CurrencyDecimalDigitsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyDecimalDigits dependency property.
CurrencyDecimalSeparatorProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyDecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty CurrencyDecimalSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyDecimalSeparator dependency property.
CurrencyGroupSeparatorProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyGroupSeparator dependency property.
Declaration
public static readonly DependencyProperty CurrencyGroupSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyGroupSeparator dependency property.
CurrencyGroupSizesProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyGroupSizes dependency property.
Declaration
public static readonly DependencyProperty CurrencyGroupSizesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyGroupSizes dependency property.
CurrencyNegativePatternProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyNegativePattern dependency property.
Declaration
public static readonly DependencyProperty CurrencyNegativePatternProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyNegativePattern dependency property.
CurrencyPositivePatternProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyPositivePattern dependency property.
Declaration
public static readonly DependencyProperty CurrencyPositivePatternProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencyPositivePattern dependency property.
CurrencySymbolProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencySymbol dependency property.
Declaration
public static readonly DependencyProperty CurrencySymbolProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridCurrencyColumn.CurrencySymbol dependency property.
Properties
CurrencyDecimalDigits
Gets or sets the number of decimal places to use in currency values.
Declaration
public int CurrencyDecimalDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of decimal places to use in currency values.The default value is 2. |
CurrencyDecimalSeparator
Gets or sets the string that separates the decimal part in currency values.
Declaration
public string CurrencyDecimalSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that separates the decimal part in currency values. |
CurrencyGroupSeparator
Gets or sets the string that separates the group of digits to the left of the decimal in currency values.
Declaration
public string CurrencyGroupSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that separates the group of digits to the left of the decimal .The default value is ",". |
CurrencyGroupSizes
Gets or sets the number of digits in each group to the left of the decimal in currency values.
Declaration
public Int32Collection CurrencyGroupSizes { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Int32Collection | The number of digits in each group to the left of the decimal in currency values. |
CurrencyNegativePattern
Gets or sets the format pattern of negative currency values.
Declaration
public int CurrencyNegativePattern { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The format pattern of negative currency values. |
CurrencyPositivePattern
Gets or sets the format pattern of positive currency values.
Declaration
public int CurrencyPositivePattern { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The format pattern of positive currency values. |
CurrencySymbol
Gets or sets the string to use as the currency symbol.
Declaration
public string CurrencySymbol { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that is used as the currency symbol. |
Methods
SetDisplayBindingConverter()
Sets the converter for the
Declaration
protected override void SetDisplayBindingConverter()
Overrides
Remarks
You can override this method to specify the converter for
UpdateBindingBasedOnAllowEditing()
Updates the binding for the
Declaration
protected override void UpdateBindingBasedOnAllowEditing()