Class TimeFormatConverter
Inheritance
System.Object
System.Windows.Markup.MarkupExtension
TimeFormatConverter
Assembly: Vortex.Presentation.Wpf.dll
public class TimeFormatConverter : MarkupExtension, IValueConverter
Constructors
Declaration
public TimeFormatConverter(TimeFormatAttribute timeFormatAttribute)
Parameters
Type |
Name |
Description |
TimeFormatAttribute |
timeFormatAttribute |
|
Fields
Declaration
readonly TimeFormatAttribute _timeFormatAttribute
Field Value
Type |
Description |
TimeFormatAttribute |
|
Methods
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
targetType |
|
System.Object |
parameter |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.Object |
|
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
targetType |
|
System.Object |
parameter |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.Object |
|
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type |
Name |
Description |
System.IServiceProvider |
serviceProvider |
|
Returns
Type |
Description |
System.Object |
|
Overrides
System.Windows.Markup.MarkupExtension.ProvideValue(System.IServiceProvider)
Extension Methods