[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.MaskFormatConverter.Convert

Convert Method

Convert(object, Type, object, CultureInfo)

Converts a value to a special string based on different pattern.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
Type Name Description
object value

The value produced by the binding source.

Type targetType

The type of the binding target property.

object parameter

The converter parameter to use.

CultureInfo culture

The culture to use in the converter.

Returns
Type Description
object

A converted value. If the method returns null, the valid null value is used.

Implements