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


C1.WPF Namespace > OpacityConverter Class : Convert Method
The source data being passed to the target.
The System.Type of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.
Modifies the source data before passing it to the target for display in the UI.
Syntax
'Declaration
 
Public Function Convert( _
   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.Convert(value, targetType, parameter, culture)
public System.object Convert( 
   System.object value,
   System.Type targetType,
   System.object parameter,
   System.Globalization.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.
See Also

Reference

OpacityConverter Class
OpacityConverter Members