[]
Represents a Binding converter that returns a Visibility value for the time ruler UI part.
[ValueConversion(typeof(TimeSpan), typeof(Visibility))]
public class TimeRulerVisibilityConverter : IValueConverter
<xref href="C1.WPF.Schedule.TimeRulerVisibilityConverter" data-throw-if-not-resolved="false"></xref> is a one-way converter.
Returns Visibility.Collapsed if specified TimeSpan value is greater or equal to 1 day.
Name | Description |
---|---|
TimeRulerVisibilityConverter() |
Name | Description |
---|---|
Default | Gets an instance of TimeRulerVisibilityConverter. |
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) | Throws System.NotImplementedException. |