Spread Silverlight Documentation
Convert Method (DataValidationNullValueConverter)


GrapeCity.Windows.SpreadSheet.UI Namespace > DataValidationNullValueConverter Class : Convert Method
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
Converts a data validation list item value to dropdown item's value.
Syntax
'Declaration
 
Public Function Convert( _
   ByVal value As System.Object, _
   ByVal targetType As System.Type, _
   ByVal parameter As System.Object, _
   ByVal culture As System.Globalization.CultureInfo _
) As System.Object
'Usage
 
Dim instance As DataValidationNullValueConverter
Dim value As System.Object
Dim targetType As System.Type
Dim parameter As System.Object
Dim culture As System.Globalization.CultureInfo
Dim value As System.Object
 
value = instance.Convert(value, targetType, parameter, culture)
public System.object Convert( 
   System.object value,
   System.Type targetType,
   System.object parameter,
   System.Globalization.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 original value is null, return " ", otherwise, return the original value.
See Also

Reference

DataValidationNullValueConverter Class
DataValidationNullValueConverter Members