ComponentOne Scheduler for WPF and Silverlight
Convert Method (ColorToBrushConverter)

C1.WPF.Schedule Namespace > ColorToBrushConverter Class : Convert Method
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
Converts a value. The data binding engine calls this method when it propagates a value from the binding source to the binding target.
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
public System.object Convert( 
   System.object value,
   System.Type targetType,
   System.object parameter,
   System.Globalization.CultureInfo culture
)

Parameters

value
The value produced by the binding source.
targetType
The type of the binding target property.
parameter
The converter parameter to use.
culture
The culture to use in the converter.

Return Value

A converted value.
See Also

Reference

ColorToBrushConverter Class
ColorToBrushConverter Members