ComponentOne Basic Library for WPF and Silverlight
ConvertBack Method (OpacityConverter)


C1.WPF Namespace > OpacityConverter Class : ConvertBack Method
The target data being passed to the source.
The System.Type of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.
Modifies the target data before passing it to the source object. This method is called only in System.Windows.Data.BindingMode.TwoWay bindings.
Syntax
'Declaration
 
Public Function ConvertBack( _
   ByVal value As System.Object, _
   ByVal targetType As System.Type, _
   ByVal parameter As System.Object, _
   ByVal culture As System.Globalization.CultureInfo _
) As System.Object
'Usage
 
Dim instance As OpacityConverter
Dim value As System.Object
Dim targetType As System.Type
Dim parameter As System.Object
Dim culture As System.Globalization.CultureInfo
Dim value As System.Object
 
value = instance.ConvertBack(value, targetType, parameter, culture)
public System.object ConvertBack( 
   System.object value,
   System.Type targetType,
   System.object parameter,
   System.Globalization.CultureInfo culture
)

Parameters

value
The target data being passed to the source.
targetType
The System.Type of data expected by the source object.
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 source object.
See Also

Reference

OpacityConverter Class
OpacityConverter Members