C# Класс AC.AvalonControlsLibrary.Controls.MonthConverter

converts the date string to the value
Наследование: IValueConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Convert() публичный Метод

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
Результат object

ConvertBack() публичный Метод

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
Результат object