Class TimeFormatConverter
Inheritance
System.Object
System.Windows.Markup.MarkupExtension
TimeFormatConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class TimeFormatConverter : MarkupExtension, IValueConverter
Constructors
TimeFormatConverter(TimeFormatAttribute)
Declaration
public TimeFormatConverter(TimeFormatAttribute timeFormatAttribute)
Parameters
Type | Name | Description |
---|---|---|
TimeFormatAttribute | timeFormatAttribute |
Fields
_timeFormatAttribute
Declaration
readonly TimeFormatAttribute _timeFormatAttribute
Field Value
Type | Description |
---|---|
TimeFormatAttribute |
Methods
Convert(Object, Type, Object, CultureInfo)
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 |
ConvertBack(Object, Type, Object, CultureInfo)
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 |
ProvideValue(IServiceProvider)
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)
Implements
System.Windows.Data.IValueConverter