[]
        
(Showing Draft Content)

C1.WPF.Schedule.ReminderDueInMultiConverter

ReminderDueInMultiConverter Class

Represents a MultiBinding converter that provides a value for the 'Due in' column of the Reminders dialog box.

Inheritance
ReminderDueInMultiConverter
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.dll
Syntax
public class ReminderDueInMultiConverter : IMultiValueConverter
Remarks

ReminderDueInMultiConverter is a one-way converter. It takes as a source a list of two values - the first one is a DateTime when event will occur, and the second one is a current DateTime - and returns a string with a phrase that describes how much time stays until the event. If the second source value is not specified then the DateTime.Now value is used.

The standard Reminders dialog box uses this converter in conjunction with the ActiveDateTime object whose Now property provides a value for the second source value of the converter.

Constructors

Name Description
ReminderDueInMultiConverter()

Fields

Name Description
Default

Gets an instance of ReminderDueInMultiConverter.

Methods

Name Description
Convert(object[], Type, object, CultureInfo)

Converts a value. The data binding engine calls this method when it propagates a value from the binding source to the binding target.

ConvertBack(object, Type[], object, CultureInfo)

Converts a value. The data binding engine calls this method when it propagates a value from the binding target to the binding source.