Class FixedTickProvider
Provides a way to create custom RadScheduleView time ruler tick lengths.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class FixedTickProvider : ITickProvider
Constructors
FixedTickProvider()
FixedTickProvider(DateTimeInterval)
Initializes a new instance of the FixedTickProvider class.
Declaration
public FixedTickProvider(DateTimeInterval interval)
Parameters
DateTimeInterval
interval
The interval. |
Properties
Interval
Gets or sets the interval.
Declaration
public DateTimeInterval Interval { get; set; }
Property Value
DateTimeInterval
The interval. |
Methods
GetFormatString(IFormatProvider, String, DateTime)
Gets the format string.
Declaration
public string GetFormatString(IFormatProvider formatInfo, string viewDefinitionFormatString, DateTime currentStart)
Parameters
System.IFormatProvider
formatInfo
The format info. |
System.String
viewDefinitionFormatString
The view definition format string. |
System.DateTime
currentStart
The current start. |
Returns
System.String
|
Implements
GetNextStart(TimeSpan, DateTime)
Gets the next start.
Declaration
public DateTime GetNextStart(TimeSpan tickLength, DateTime currentStart)
Parameters
System.TimeSpan
tickLength
Length of the tick. |
System.DateTime
currentStart
The current start. |
Returns
System.DateTime
|