Class DataFormToStringConverter
Value converter for the DataForm.
Inheritance
System.Object
DataFormToStringConverter
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Windows.Controls
Assembly: DataForm.Toolkit.OpenSilver.dll
Syntax
public class DataFormToStringConverter : IValueConverter
Methods
| Improve this Doc View SourceConvert(Object, Type, Object, CultureInfo)
Converts forwards.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
System.Type | targetType | The target type. |
System.Object | parameter | The parameter. |
System.Globalization.CultureInfo | culture | The culture. |
Returns
Type | Description |
---|---|
System.Object | The converted value. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts backwards.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
System.Type | targetType | The target type. |
System.Object | parameter | The parameter. |
System.Globalization.CultureInfo | culture | The culture. |
Returns
Type | Description |
---|---|
System.Object | The converted value. |