Class
AutomaticTickLengthProvider

Represents the default TickLength provider.

Definition

Namespace:Telerik.UI.Xaml.Controls.Scheduler

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class AutomaticTickLengthProvider : TickProviderBase

Inheritance: objectTickProviderBaseAutomaticTickLengthProvider

Inherited Members TickProviderBase.ConvertFromString(string)

Constructors

AutomaticTickLengthProvider()

Initializes a new instance of the AutomaticTickLengthProvider class.

Declaration

cs-api-definition
public AutomaticTickLengthProvider()

AutomaticTickLengthProvider(Threshold)

Initializes a new instance of the AutomaticTickLengthProvider class.

Declaration

cs-api-definition
public AutomaticTickLengthProvider(Threshold threshold)

Parameters

threshold

Threshold

The Threshold to use while determining the tick lengths.

Fields

MajorProvider

The default AutomaticTickLengthProvider for major ticks.

Declaration

cs-api-definition
public static readonly AutomaticTickLengthProvider MajorProvider

Field Value

AutomaticTickLengthProvider

MinorProvider

The default AutomaticTickLengthProvider for minor ticks.

Declaration

cs-api-definition
public static readonly AutomaticTickLengthProvider MinorProvider

Field Value

AutomaticTickLengthProvider

Properties

Threshold

The Threshold to use while determining the tick lengths.

Declaration

cs-api-definition
public Threshold Threshold { get; set; }

Property Value

Threshold

Methods

Equals(object)

Indicates whether this instance and a specified object are equal.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Another object to compare to.

Returns

bool

True if obj and this instance are the same type and represent the same Threshold; otherwise, false.

Overrides object.Equals(object)

GetFormatString(IFormatProvider, string, DateTime)

Gets the format string.

Declaration

cs-api-definition
public override 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

Overrides TickProviderBase.GetFormatString(IFormatProvider, string, DateTime)

GetNextStart(TimeSpan, DateTime)

Gets the next start.

Declaration

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

Parameters

pixelLength

TimeSpan

Length of the pixel in ticks.

currentStart

DateTime

The current start.

Returns

DateTime

Overrides TickProviderBase.GetNextStart(TimeSpan, DateTime)