[]
Represents a Binding converter that returns a bool value indicating whether a source value is today's date.
[ValueConversion(typeof(DateTime), typeof(bool))]
public class IsTodayConverter : IValueConverter
IsTodayConverter is a one-way converter.
Name | Description |
---|---|
IsTodayConverter() |
Name | Description |
---|---|
Default | Gets an instance of IsTodayConverter. |
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) | Returns Binding.DoNothing. |