Converts source values to a value for the binding target. 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[] values, Type targetType, Object parameter, CultureInfo culture ) |
Visual Basic (Declaration) |
---|
Public Function Convert ( _ values As Object(), _ targetType As Type, _ parameter As Object, _ culture As CultureInfo _ ) As Object |
Parameters
- values
- Type: array<System..::..Object>[]()[][]
The array of values that the source bindings.
- targetType
- Type: System..::..Type
The type of the binding target property.
- parameter
- Type: System..::..Object
The converter parameter to use. It will be passed to ItemConverter during each item conversion.
- culture
- Type: System.Globalization..::..CultureInfo
The culture to use in the converter.
Return Value
A converted value.Implements
IMultiValueConverter..::..Convert(array<Object>[]()[][], Type, Object, CultureInfo)
Remarks
If ItemConverter property is not null and values count is more than 1, then values[1] will be used
as converter parameter for ItemConverter and values[2] will be used instead of converter culture.