Modifies the source data before passing it to the target for display in the UI.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public Object Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Visual Basic
Public Function Convert ( _
	value As Object, _
	targetType As Type, _
	parameter As Object, _
	culture As CultureInfo _
) As Object

Parameters

value
Type: System..::..Object
The source data being passed to the target.
targetType
Type: System..::..Type
The Type of data expected by the target dependency property.
parameter
Type: System..::..Object
An optional parameter to be used in the converter logic.
culture
Type: System.Globalization..::..CultureInfo
The culture of the conversion.

Return Value

The value to be passed to the target dependency property.

Implements

IValueConverter..::..Convert(Object, Type, Object, CultureInfo)

See Also