Converts a value. The data binding engine calls this method
when it propagates a value from the binding source to the binding target.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
public Object Convert( Object value, Type targetType, Object parameter, CultureInfo culture ) |
Visual Basic (Declaration) |
---|
Public Function Convert ( _ value As Object, _ targetType As Type, _ parameter As Object, _ culture As CultureInfo _ ) As Object |
Parameters
- value
- Type: System..::..Object
The value produced by the binding source.
- targetType
- Type: System..::..Type
The type of the binding target property.
- parameter
- Type: System..::..Object
The converter parameter to use.
- culture
- Type: System.Globalization..::..CultureInfo
The culture to use in the converter.
Return Value
A converted value.Implements
IValueConverter..::..Convert(Object, Type, Object, CultureInfo)
Remarks
Parameter mast be a TimeSpan value.