ClassAutomaticTickLengthProvider
Represents the default TickLength provider.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class AutomaticTickLengthProvider : ITickProvider
Inheritance: objectAutomaticTickLengthProvider
Implements:
Constructors
AutomaticTickLengthProvider()
Initializes a new instance of the AutomaticTickLengthProvider class.
Declaration
public AutomaticTickLengthProvider()
AutomaticTickLengthProvider(Threshold)
Initializes a new instance of the AutomaticTickLengthProvider class.
Declaration
public AutomaticTickLengthProvider(Threshold threshold)
Parameters
threshold
The Threshold to use while determining the tick lengths.
Fields
MajorProvider
The default AutomaticTickLengthProvider for major ticks.
Declaration
public static readonly AutomaticTickLengthProvider MajorProvider
Field Value
MinorProvider
The default AutomaticTickLengthProvider for minor ticks.
Declaration
public static readonly AutomaticTickLengthProvider MinorProvider
Field Value
Properties
Methods
Equals(object)
Indicates whether this instance and a specified object are equal.
GetFormatString(IFormatProvider, string, DateTime)
Gets the format string.
Declaration
public string GetFormatString(IFormatProvider formatInfo, string formatString, DateTime currentStart)
Parameters
formatInfo
The format info.
formatString
The format string.
currentStart
The current start.
Returns
Implements
GetNextStart(TimeSpan, DateTime)
Gets the next start.
Declaration
[SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "<Pending>")]
public DateTime GetNextStart(TimeSpan pixelLength, DateTime currentStart)
Parameters
pixelLength
Length of the pixel in ticks.
currentStart
The current start.
Returns
Implements