Xceed DataGrid for WPF v7.2 Documentation
Convert Method (SourceDataConverter)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Converters Namespace > SourceDataConverter Class : Convert Method
The value in the source.
The Type to which to convert sourceValue.
The CultureInfo to use when converting the value.
Converts the sourceValue to the targetType using the provided culture info.
Syntax
'Declaration
 
Public Function Convert( _

   ByVal sourceValue As Object, _

   ByVal targetType As Type, _

   ByVal parameter As Object, _

   ByVal targetCulture As CultureInfo _

) As Object
'Usage
 
Dim instance As SourceDataConverter

Dim sourceValue As Object

Dim targetType As Type

Dim parameter As Object

Dim targetCulture As CultureInfo

Dim value As Object

 

value = instance.Convert(sourceValue, targetType, parameter, targetCulture)
public object Convert( 

   object sourceValue,

   Type targetType,

   object parameter,

   CultureInfo targetCulture

)

Parameters

sourceValue
The value in the source.
targetType
The Type to which to convert sourceValue.
parameter
targetCulture
The CultureInfo to use when converting the value.

Return Value

The converted value.
Requirements

Target Platforms: Windows 11, Windows, 10, 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

Reference

SourceDataConverter Class
SourceDataConverter Members