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

ITickProvider

Interface

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#
[TypeConverter(typeof(TickLengthProviderTypeConverter))]
public interface ITickProvider

Derived Classes: AutomaticTickLengthProviderFixedTickProvider

Methods

Gets the format string.

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

The format info.

formatStringstring

The format string.

currentStartDateTime

The current start.

Returns:

string

Gets the next start.

C#
DateTime GetNextStart(TimeSpan pixelLength, DateTime currentStart)
Parameters:pixelLengthTimeSpan

Length of the pixel in ticks.

currentStartDateTime

The current start.

Returns:

DateTime