'Declaration
Public Function Convert( _ ByVal value As Object, _ ByVal targetType As Type, _ ByVal parameter As Object, _ ByVal culture As CultureInfo _ ) As Object
'Usage
Dim instance As OpacityConverter Dim value As Object Dim targetType As Type Dim parameter As Object Dim culture As CultureInfo Dim value As Object value = instance.Convert(value, targetType, parameter, culture)
public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
public: Object^ Convert( Object^ value, Type^ targetType, Object^ parameter, CultureInfo^ culture )
Parameters
- value
- The source data being passed to the target.
- targetType
- The System.Type of data expected by the target dependency property.
- parameter
- An optional parameter to be used in the converter logic.
- culture
- The culture of the conversion.
Return Value
The value to be passed to the target dependency property.