Class
FixedTickProvider

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

Definition

Namespace:Telerik.UI.Xaml.Controls.Scheduler

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class FixedTickProvider : TickProviderBase

Inheritance: objectTickProviderBaseFixedTickProvider

Inherited Members TickProviderBase.ConvertFromString(string)

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 override 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

Overrides TickProviderBase.GetFormatString(IFormatProvider, string, DateTime)

GetNextStart(TimeSpan, DateTime)

Gets the next start.

Declaration

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

Parameters

tickLength

TimeSpan

Length of the tick.

currentStart

DateTime

The current start.

Returns

DateTime

Overrides TickProviderBase.GetNextStart(TimeSpan, DateTime)