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 TimeToStringMultiConverter : IMultiValueConverter
Visual Basic (Declaration)
<ValueConversionAttribute(GetType(TimeSpan), GetType(String))> _
Public Class TimeToStringMultiConverter _
	Implements IMultiValueConverter

Remarks

TimeToStringMultiConverter 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. If array of values contains more than one item, then the second item will be used as converter parameter, and the third item - as converter culture.

Inheritance Hierarchy

System..::..Object
  C1.WPF.C1Schedule..::..TimeToStringMultiConverter

See Also