Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / DateFormatConverter Class / ConvertBack Method
The target data being passed to the source.
The System.Type of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.


In This Topic
    ConvertBack Method (DateFormatConverter)
    In This Topic
    Modifies the target data before passing it to the source object. This method is called only in System.Windows.Data.BindingMode.TwoWay bindings.
    Syntax
    'Declaration
     
    Public Function ConvertBack( _
       ByVal value As Object, _
       ByVal targetType As Type, _
       ByVal parameter As Object, _
       ByVal culture As CultureInfo _
    ) As Object
    'Usage
     
    Dim instance As DateFormatConverter
    Dim value As Object
    Dim targetType As Type
    Dim parameter As Object
    Dim culture As CultureInfo
    Dim value As Object
     
    value = instance.ConvertBack(value, targetType, parameter, culture)
    public object ConvertBack( 
       object value,
       Type targetType,
       object parameter,
       CultureInfo culture
    )

    Parameters

    value
    The target data being passed to the source.
    targetType
    The System.Type of data expected by the source object.
    parameter
    An optional parameter to be used in the converter logic.
    culture
    The culture of the conversion.

    Return Value

    The value to be passed to the source object.
    Exceptions
    ExceptionDescription
    if invoke this method.
    Remarks
    Not support ConvertBack.
    See Also