Class
TickProviderBase

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
[TypeConverter(typeof(TickLengthProviderTypeConverter))]
public abstract class TickProviderBase

Inheritance: objectTickProviderBase

Derived Classes: AutomaticTickLengthProviderFixedTickProvider

Constructors

TickProviderBase()

Declaration

cs-api-definition
protected TickProviderBase()

Methods

ConvertFromString(string)

Declaration

cs-api-definition
public static TickProviderBase ConvertFromString(string value)

Parameters

value

string

Returns

TickProviderBase

GetFormatString(IFormatProvider, string, DateTime)

Gets the format string.

Declaration

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

Parameters

formatInfo

IFormatProvider

The format info.

formatString

string

The format string.

currentStart

DateTime

The current start.

Returns

string

GetNextStart(TimeSpan, DateTime)

Gets the next start.

Declaration

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

Parameters

pixelLength

TimeSpan

Length of the pixel in ticks.

currentStart

DateTime

The current start.

Returns

DateTime