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

Namespace:  C1.Silverlight.PdfViewer
Assembly:  C1.Silverlight.PdfViewer (in C1.Silverlight.PdfViewer.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 double or ViewMode value 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 string value to be passed to the target dependency property.

Implements

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

See Also