Represents a MultiValue binding converter that converts a DateTimeInfo object to one of its string representations.

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

Syntax

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

Remarks

DateTimeInfoToStringConverter is a one-way converter. It takes as a source a list of 3 values:
  • the DateTimeInfo object
  • the DateTime format specifier string. The format specifier definition rules are the same as used in the System.DateTime.ToString(format) method. This parameter is optional.
  • The CultureInfo object used for converting. This parameter is optional.

Inheritance Hierarchy

System..::..Object
  C1.WPF.C1Schedule..::..DateTimeInfoToStringConverter

See Also