Class TimeLineSettings
Inherited Members
Namespace: Telerik.Windows.Controls.Scheduling
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public class TimeLineSettings : PropertyChangedBase, ITimeLineSettings, INotifyPropertyChanged
Constructors
TimeLineSettings(GroupingSettings, VisibleRangeSettings)
Declaration
public TimeLineSettings(GroupingSettings groupingSettings, VisibleRangeSettings visibleRangeSettings)
Parameters
GroupingSettings
groupingSettings
|
VisibleRangeSettings
visibleRangeSettings
|
Fields
DefaultPixelLength
Declaration
public static readonly TimeSpan DefaultPixelLength
Field Value
System.TimeSpan
|
Properties
PixelLength
Declaration
public TimeSpan PixelLength { get; set; }
Property Value
System.TimeSpan
|
Rounder
Gets or sets Rounder and notifies for changes.
Declaration
public IRoundService Rounder { get; set; }
Property Value
IRoundService
|
TicksPerPixel
Declaration
public long TicksPerPixel { get; }
Property Value
System.Int64
|
Implements
TimeLineRange
VisibleRanges
Declaration
public IList<Range<long>> VisibleRanges { get; }
Property Value
System.Collections.Generic.IList<Range<System.Int64>>
|
Implements
Methods
GetRanges(IRangeGenerator)
Declaration
public IEnumerable<IDateRange> GetRanges(IRangeGenerator rangeGenerator)
Parameters
IRangeGenerator
rangeGenerator
|
Returns
System.Collections.Generic.IEnumerable<IDateRange>
|
ToPixels(Int64)
Converts offset in ticks to pixels where the zero tick (with value 0) corresponds to the 0 pixels offset.
Declaration
public double ToPixels(long ticks)
Parameters
System.Int64
ticks
The offset to be converted where 0 is the base value. |
Returns
System.Double
The offset converted to pixels. |
Implements
ToTicks(Double)
Converts offset in pixels to ticks offset where the zero tick (with value 0) corresponds to the 0 pixels offset.
Declaration
public long ToTicks(double offset)
Parameters
System.Double
offset
|
Returns
System.Int64
|