Convert Method (DataTemplateToObjectConverter)
Converts a value.
Syntax
public override object Convert( object value, Type targetType, object parameter, 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. If the method returns null, the valid null value is used.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also