Show / Hide Table of Contents

Class SystemConvertConverter

Implements default system convert converter

Inheritance
System.Object
DefaultValueConverter
SystemConvertConverter
Implements
IValueConverter
Inherited Members
DefaultValueConverter.stringType
DefaultValueConverter.objectType
DefaultValueConverter.sourceType
DefaultValueConverter.targetType
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Data
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class SystemConvertConverter : DefaultValueConverter, IValueConverter

Constructors

SystemConvertConverter(Type, Type)

Initializes a new instance of the SystemConvertConverter class.

Declaration
public SystemConvertConverter(Type source, Type target)
Parameters
Type Name Description
System.Type source

The source.

System.Type target

The target.

Methods

CanConvert(Type, Type)

Determines whether source type can be converted to target type

Declaration
public static bool CanConvert(Type source, Type target)
Parameters
Type Name Description
System.Type source

The source.

System.Type target

The target.

Returns
Type Description
System.Boolean

Convert(Object, Type, Object, CultureInfo)

Converts the specified value.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The value.

System.Type targetType

Type of the target.

System.Object parameter

The parameter.

System.Globalization.CultureInfo culture

The culture.

Returns
Type Description
System.Object

ConvertBack(Object, Type, Object, CultureInfo)

Converts back specified value

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The value.

System.Type targetType

Type of the target.

System.Object parameter

The parameter.

System.Globalization.CultureInfo culture

The culture.

Returns
Type Description
System.Object

Implements

IValueConverter
Back to top Generated by DocFX