C# Класс Dev2.CustomControls.Converters.StringToTimespanConverter

Наследование: IValueConverter
Показать файл Открыть проект

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

Метод Описание
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a TimeSpan to a string.

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

Converts a string to a TimeSpan object as the minutes.

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

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

Converts a TimeSpan to a string.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object

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

Converts a string to a TimeSpan object as the minutes.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object