New to Telerik UI for WPFStart a free 30-day trial

Provides a way to create custom RadScheduleView time ruler tick lengths.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class FixedTickProvider : ITickProvider

Inheritance: objectFixedTickProvider

Implements: ITickProvider

Constructors

Initializes a new instance of the FixedTickProvider class.

C#
public FixedTickProvider()

Initializes a new instance of the FixedTickProvider class.

C#
public FixedTickProvider(DateTimeInterval interval)
Parameters:intervalDateTimeInterval

The interval.

Properties

Gets or sets the interval.

C#
public DateTimeInterval Interval { get; set; }
Property Value:

The interval.

Methods

Gets the format string.

C#
public string GetFormatString(IFormatProvider formatInfo, string viewDefinitionFormatString, DateTime currentStart)
Parameters:formatInfoIFormatProvider

The format info.

viewDefinitionFormatStringstring

The view definition format string.

currentStartDateTime

The current start.

Returns:

string

Implements: ITickProvider.GetFormatString(IFormatProvider, string, DateTime)

Gets the next start.

C#
public DateTime GetNextStart(TimeSpan tickLength, DateTime currentStart)
Parameters:tickLengthTimeSpan

Length of the tick.

currentStartDateTime

The current start.

Returns:

DateTime

Implements: ITickProvider.GetNextStart(TimeSpan, DateTime)