C# Class Emlid.WindowsIot.Common.ConvertibleValueConverter

Value converter enables values to be used in data binding which are already convertible via System.Convert.
Inheritance: IValueConverter
Datei anzeigen Open project: emlid/Navio-SDK-Windows-IoT

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, string language ) : object

Modifies the source data before passing it to the target for display in the UI.

ConvertBack ( object value, Type targetType, object parameter, string language ) : object

Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.

Method Details

Convert() public method

Modifies the source data before passing it to the target for display in the UI.
public Convert ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
return object

ConvertBack() public method

Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.
public ConvertBack ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
return object