C# Class Core2D.Avalonia.Converters.ByteToDoubleConverter

Converts a binding value object from byte to double and back from double to byte.
Inheritance: IValueConverter
Afficher le fichier Open project: Core2D/Core2D

Méthodes publiques

Свойство Type Description
Instance ByteToDoubleConverter

Méthodes publiques

Méthode Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

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

Converts a value.

Method Details

Convert() public méthode

Converts a value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value to convert.
targetType System.Type The type of the target.
parameter object A user-defined parameter.
culture System.Globalization.CultureInfo The culture to use.
Résultat object

ConvertBack() public méthode

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value to convert.
targetType System.Type The type of the target.
parameter object A user-defined parameter.
culture System.Globalization.CultureInfo The culture to use.
Résultat object

Property Details

Instance public_oe static_oe property

Gets an instance of a ByteToDoubleConverter.
public static ByteToDoubleConverter,Core2D.Avalonia.Converters Instance
Résultat ByteToDoubleConverter