New to Telerik UI for WinForms? Start a free 30-day trial

Represents one time-unit column in the picker popup and contributes its selected unit to the composed TimeSpan.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public interface ITimeSpanPickerComponent

Properties

Gets or sets the upper bound for values offered by this component.

C#
double Maximum { get; set; }

Gets or sets the lowest numeric value offered by this component.

C#
double Minimum { get; set; }

Gets the popup content element that hosts this component and combines its value with the other time units.

C#
ITimeSpanPickerContentElement Owner { get; }

Gets or sets the increment between values offered by this component.

C#
double Step { get; set; }

Gets the visual element that displays this unit and lets the user choose its value.

C#
BaseTimeSpanPickerUIComponent TimeSpanPickerUIComponent { get; }

Methods

Creates the visual element.

C#
BaseTimeSpanPickerUIComponent CreateVisualElement()
Returns:

BaseTimeSpanPickerUIComponent

Gets this component's selected unit as a contribution to the final time span.

C#
long GetValueInTicks()
Returns:

long

The selected unit expressed in ticks.

Selects the value for this unit from the supplied time span.

C#
void SetValue(TimeSpan value)
Parameters:valueTimeSpan

The time span whose corresponding unit value should be selected.

Refreshes the component's localized display, such as its unit heading.

C#
void UpdateLocalization()