C# Class BattlelogMobile.Client.Converter.IntegerVisibilityConverter

Converts integer to Visibility enum
Inheritance: IValueConverter
Afficher le fichier Open project: mikkoviitala/battlelogmobile

Méthodes publiques

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

All values greater than zero (0) are treated as Visible, any other Collapsed

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

Method Details

Convert() public méthode

All values greater than zero (0) are treated as Visible, any other Collapsed
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