Class DateTimeColumnFormatConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.Converters
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class DateTimeColumnFormatConverter : CultureFormatConverter, IValueConverter
Constructors
DateTimeColumnFormatConverter(GridDateTimeColumn)
Declaration
public DateTimeColumnFormatConverter(GridDateTimeColumn column)
Parameters
Type | Name | Description |
---|---|---|
GridDateTimeColumn | 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 | convert parameter |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object | object |
Overrides
ConvertBack(Object, Type, Object, CultureInfo)
Invokes to convert back the converted value into actual 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 | target type |
System.Object | parameter | converter parameter |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object | object |
Overrides
Implements
System.Windows.Data.IValueConverter