Class CultureFormatConverter
Inheritance
System.Object
CultureFormatConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class CultureFormatConverter : GridValueConverter, IValueConverter
Constructors
CultureFormatConverter(GridColumnBase)
Declaration
public CultureFormatConverter(GridColumnBase column)
Parameters
Type | Name | Description |
---|---|---|
GridColumnBase | column |
Methods
Convert(Object, Type, Object, CultureInfo)
Invokes to convert actual value into formatted value
Declaration
public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | value |
System.Type | targetType | target type |
System.Object | parameter | converter parameter |
System.Globalization.CultureInfo | culture | culture info |
Returns
Type | Description |
---|---|
System.Object | object |
Overrides
ConvertBack(Object, Type, Object, CultureInfo)
Invokes to convert actual value into formatted value.
Declaration
public override object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | value |
System.Type | targetType | value |
System.Object | parameter | converter parameter |
System.Globalization.CultureInfo | culture | culture info |
Returns
Type | Description |
---|---|
System.Object | object |
Overrides
Implements
System.Windows.Data.IValueConverter