Class
TimeRulerLine

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

cs-api-definition
public abstract class TimeRulerLine : PlatformIndependentFreezable, INotifyPropertyChanged

Inheritance: objectPlatformIndependentFreezableTimeRulerLine

Derived Classes: GroupTickLineMajorTickLineMinorTickLine

Implements: INotifyPropertyChanged

Inherited Members PlatformIndependentFreezable.CreateInstanceCore()PlatformIndependentFreezable.CreateInstanceOverride()

Constructors

TimeRulerLine()

Declaration

cs-api-definition
protected TimeRulerLine()

Fields

HeightProperty

Identifies the Height dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeightProperty

Field Value

DependencyProperty

IntervalsProperty

Identifies the Intervals dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IntervalsProperty

Field Value

DependencyProperty

MinTickLengthProperty

Identifies the MinTickLength dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinTickLengthProperty

Field Value

DependencyProperty

Properties

Height

Gets or sets the Height of the time ruler line. This is a dependency property.

Declaration

cs-api-definition
public double Height { get; set; }

Property Value

double

Intervals

Gets or sets the Intervals. This is a dependency property.

Declaration

cs-api-definition
public TickIntervalCollection Intervals { get; }

Property Value

TickIntervalCollection

MinTickLength

Gets or sets the MinTickLength. This is a dependency property.

Declaration

cs-api-definition
public double MinTickLength { get; set; }

Property Value

double

Methods

GenerateCurrentHourTick(long, int)

Declaration

cs-api-definition
public virtual TickInfo GenerateCurrentHourTick(long currentHourTicks, int index)

Parameters

currentHourTicks

long

index

int

Returns

TickInfo

GenerateTicks(Range<long>, DayOfWeek, int, long)

Declaration

cs-api-definition
public virtual IEnumerable<TickInfo> GenerateTicks(Range<long> visibleRange, DayOfWeek firstDayOfWeek, int lineIndex, long ticksPerPixel)

Parameters

visibleRange

Range<long>

firstDayOfWeek

DayOfWeek

lineIndex

int

ticksPerPixel

long

Returns

IEnumerable<TickInfo>

GetDefaultInterval(long)

Declaration

cs-api-definition
protected abstract TickInterval GetDefaultInterval(long ticksPerPixel)

Parameters

ticksPerPixel

long

Returns

TickInterval

GetTickInfo(Range<long>, int, string)

Declaration

cs-api-definition
protected abstract TickInfo GetTickInfo(Range<long> timeRange, int lineIndex, string formattedValue)

Parameters

timeRange

Range<long>

lineIndex

int

formattedValue

string

Returns

TickInfo

OnPropertyChanged(string)

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged