C# Class ZoomAndPanSample.ScaleToPercentConverter

Used in MainWindow.xaml to converts a scale value to a percentage. It is used to display the 50%, 100%, etc that appears underneath the zoom and pan control.
Inheritance: IValueConverter
Afficher le fichier Open project: Zoomicon/ZUI

Méthodes publiques

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

Method Details

Convert() public méthode

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
Résultat object

ConvertBack() public méthode

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
Résultat object