Converts a value from a binding source for use by a binding target.
Namespace:
Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)
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 dates to check. This array must contain exactly two dates. If the array contains fewer than two dates, an IndexOutOfRangeException occurs. If the array contains more than two dates, the extra dates are ignored.
- 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 conversion.