Converts a value to a string, using any available property metadata.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public Object Convert(
	Object[] values,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Visual Basic (Declaration)
Public Function Convert ( _
	values As Object(), _
	targetType As Type, _
	parameter As Object, _
	culture As CultureInfo _
) As Object

Parameters

values
Type: array< System..::.Object >[]()[]
An array of two objects: the value to be converted, and the property metadata expressed as an IPropertyInfo.
targetType
Type: System..::.Type
The type of the binding target property.
parameter
Type: System..::.Object
The converter parameter to use.
culture
Type: System.Globalization..::.CultureInfo
The culture to use in the conversion.

Return Value

A string representation of the value.

Implements

IMultiValueConverter..::.Convert(array<Object>[]()[], Type, Object, CultureInfo)

See Also