ClassDecadeInterval
Defines an interval of 10 years.
Definition
Namespace:Telerik.Windows.Controls.TimeBar
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public sealed class DecadeInterval : IntervalBase
Inheritance: objectIntervalBaseDecadeInterval
Inherited Members
Constructors
DecadeInterval()
Declaration
public DecadeInterval()
Properties
Formatters
Gets a collection of formatters used to convert DateTime objects to specific strings.
Declaration
public override Func<DateTime, string>[] Formatters { get; }
Property Value
A collection of formatters.
Overrides
Remarks
The Formatters collection is used when CurrentIntervalSpan equals 1; otherwise, the IntervalSpanFormatters collection is used.
MinimumPeriodLength
Gets the smallest interval period.
Declaration
public override TimeSpan MinimumPeriodLength { get; }
Property Value
The smallest interval period.
Overrides
Methods
ExtractIntervalStart(DateTime)
Extracts the interval start from a specified DateTime object.
GetDecadeEnd(DateTime)
Extracts the decade interval end date from a specified DateTime object that is in the decade.
GetDecadeStart(DateTime)
Extracts the decade interval start date from a specified DateTime object that is in the decade.
IncrementByInterval(DateTime, int)
Increments a specified DateTime object by a specified number of MinimumPeriodLengths.
Declaration
public override DateTime IncrementByInterval(DateTime date, int intervalSpan)
Parameters
date
The DateTime object.
intervalSpan
The number of MinimumPeriodLengths.
Returns
The incremented DateTime object.
Overrides