C# Class AC.AvalonControlsLibrary.Controls.MonthConverter

converts the date string to the value
Inheritance: IValueConverter
Afficher le fichier Open project: kienaiProject/ArtOfWords

Méthodes publiques

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

Converts the month from a number to the actual string

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

Converts the value back from ComboBoxitem to a number that can be set for the current month

Method Details

Convert() public méthode

Converts the month from a number to the actual string
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The value as integer
targetType System.Type Target type
parameter object The parameter to use
culture System The current culture in use
Résultat object

ConvertBack() public méthode

Converts the value back from ComboBoxitem to a number that can be set for the current month
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The comboBoxItem Selected
targetType System.Type Target type
parameter object The parameter to use
culture System The current culture in use
Résultat object