C# Class a7DocumentDbStudio.Converters.SwitchConverter

Inheritance: IValueConverter
Mostrar archivo Open project: alekkowalczyk/a7DocumentDbStudio

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object

Converts a value.

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Converts a value.

SwitchConverter ( ) : System

Initializes a new instance of the SwitchConverter class.

Method Details

Convert() public method

Converts a value.
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object

ConvertBack() public method

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object

SwitchConverter() public method

Initializes a new instance of the SwitchConverter class.
public SwitchConverter ( ) : System
return System