C# Class Signum.Windows.TimeSpanConverter

Inheritance: System.Windows.Controls.ValidationRule, IValueConverter
显示文件 Open project: signumsoftware/framework

Public Properties

Property Type Description
Minutes TimeSpanConverter
Seconds TimeSpanConverter
Standard TimeSpanConverter

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
TimeSpanConverter ( string format ) : System
Validate ( object value, CultureInfo cultureInfo ) : System.Windows.Controls.ValidationResult

Method Details

Convert() public method

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

ConvertBack() public method

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

TimeSpanConverter() public method

public TimeSpanConverter ( string format ) : System
format string
return System

Validate() public method

public Validate ( object value, CultureInfo cultureInfo ) : System.Windows.Controls.ValidationResult
value object
cultureInfo System.Globalization.CultureInfo
return System.Windows.Controls.ValidationResult

Property Details

Minutes public_oe static_oe property

public static TimeSpanConverter,Signum.Windows Minutes
return TimeSpanConverter

Seconds public_oe static_oe property

public static TimeSpanConverter,Signum.Windows Seconds
return TimeSpanConverter

Standard public_oe static_oe property

public static TimeSpanConverter,Signum.Windows Standard
return TimeSpanConverter