Modifies the source data before passing it to the target for display in the UI.
Namespace: Ico.WPF.Specialized.DataGridControl.ConvertersAssembly: IcoWPFSpecialized (in IcoWPFSpecialized.dll) Version: 10.97.212.0 (10.97.212.00)
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 |
JScript |
---|
public final function Convert(
value : Object,
targetType : Type,
parameter : Object,
culture : CultureInfo
) : Object |
Parameters
- value
- Type: System..::..Object
The source data being passed to the target.
- targetType
- Type: System..::..Type
The type of the target property. This uses a different type depending on whether you're programming with Microsoft .NET or Visual C++ component extensions (C++/CX). See Remarks.
- 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