Class
FixedTickProvider

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

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class FixedTickProvider : ITickProvider

Inheritance: objectFixedTickProvider

Implements: ITickProvider

Constructors

FixedTickProvider()

Initializes a new instance of the FixedTickProvider class.

Declaration

cs-api-definition
public FixedTickProvider()

FixedTickProvider(DateTimeInterval)

Initializes a new instance of the FixedTickProvider class.

Declaration

cs-api-definition
public FixedTickProvider(DateTimeInterval interval)

Parameters

interval

DateTimeInterval

The interval.

Properties

Interval

Gets or sets the interval.

Declaration

cs-api-definition
public DateTimeInterval Interval { get; set; }

Property Value

DateTimeInterval

The interval.

Methods

GetFormatString(IFormatProvider, string, DateTime)

Gets the format string.

Declaration

cs-api-definition
public string GetFormatString(IFormatProvider formatInfo, string viewDefinitionFormatString, DateTime currentStart)

Parameters

formatInfo

IFormatProvider

The format info.

viewDefinitionFormatString

string

The view definition format string.

currentStart

DateTime

The current start.

Returns

string

Implements ITickProvider.GetFormatString(IFormatProvider, string, DateTime)

GetNextStart(TimeSpan, DateTime)

Gets the next start.

Declaration

cs-api-definition
public DateTime GetNextStart(TimeSpan tickLength, DateTime currentStart)

Parameters

tickLength

TimeSpan

Length of the tick.

currentStart

DateTime

The current start.

Returns

DateTime

Implements ITickProvider.GetNextStart(TimeSpan, DateTime)