IIntervalFormatterProvider
Provides a mechanism for controlling formatting of IntervalBase labels.
Definition
Namespace:Telerik.Windows.Controls.TimeBar
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public interface IIntervalFormatterProvider
Methods
Returns a collection of formatters used to convert DateTime objects to specific strings.
Func<DateTime, string>[] GetFormatters(IntervalBase interval)
The IntervalBase that this formatter provider is associated with.
Returns:A collection of formatters.
The collection is used when CurrentIntervalSpan equals 1; otherwise, the collection returned by GetIntervalSpanFormatters(IntervalBase) is used.
Gets a collection of formatters used to convert DateTime objects to specific strings.
Func<DateTime, string>[] GetIntervalSpanFormatters(IntervalBase interval)
The IntervalBase that this formatter provider is associated with.
Returns:A collection of formatters.
The collection is used when CurrentIntervalSpan is different than 1; otherwise, the collection returned by GetFormatters(IntervalBase) is used.