New to Telerik UI for WPFStart a free 30-day trial

Represents a StepTimeSpanComponentBase for picking hour TimeSpan intervals.

Definition

Constructors

Initializes a new instance of the HourTimeSpanComponent class.

C#
public HourTimeSpanComponent()

Methods

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

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

C#
public override long GetTicksFromItem(object item)
Parameters:itemobject

An item from the ItemsSource.

Returns:

long

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

Overrides: TimeSpanComponentBase.GetTicksFromItem(object)