Represents a Binding converter that converts a TimeSpan value to one of its string representations.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
[ValueConversionAttribute(typeof(TimeSpan), typeof(string))]
public class TimeToStringConverter : IValueConverter
Visual Basic (Declaration)
<ValueConversionAttribute(GetType(TimeSpan), GetType(String))> _
Public Class TimeToStringConverter _
	Implements IValueConverter

Remarks

TimeToStringConverter is a two-way converter. A source value must be a TimeSpan, and a target value is a string that represents the TimeSpan. Converter parameter should contain valid format string corresponding to format strings used in the ToString(String) method. If the converter parameter value is not specified, then the 'T' specifier is used.

Inheritance Hierarchy

System..::..Object
  C1.WPF.C1Schedule..::..TimeToStringConverter

See Also