[]
Represents a MultiBinding converter that provides a value for the 'Due in' column of the Reminders dialog box.
public class ReminderDueInMultiConverter : IMultiValueConverter
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.
Name | Description |
---|---|
ReminderDueInMultiConverter() |
Name | Description |
---|---|
Default | Gets an instance of ReminderDueInMultiConverter. |
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. |