Class
HourTimeSpanComponent

Represents a StepTimeSpanComponentBase for picking hour TimeSpan intervals.

Definition

Constructors

HourTimeSpanComponent()

Initializes a new instance of the HourTimeSpanComponent class.

Declaration

cs-api-definition
public HourTimeSpanComponent()

Methods

CreateInstanceCore()

Declaration

cs-api-definition
protected override Freezable CreateInstanceCore()

Returns

Freezable

GetTicksFromItem(object)

Returns a long TimeSpan.Ticks value corresponding to an item from the ItemsSource.

Declaration

cs-api-definition
public override long GetTicksFromItem(object item)

Parameters

item

object

An item from the ItemsSource.

Returns

long

A long number that is the TimeSpan.Ticks representation of the item.

Overrides TimeSpanComponentBase.GetTicksFromItem(object)