Telerik UI for Windows Phone by Progress

The RadTimeSelector control provides you with an UI that is used for selecting a concrete time. In order to use the RadTimeSelector control in your application you have to reference the following assembly in your project:

  • Telerik.Windows.Controls.Input.dll

After adding reference to the aforementioned dll, you can declare a new RadTimeSelector instance as any normal Silverlight control.

Note

To use the RadTimeSelector control in the XAML you have to add the following namespace declaration:

xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
CopyXAML
<telerikInput:RadTimeSelector x:Name="radTimeSelector" />
CopyC#
RadTimeSelector radTimeSelector = new RadTimeSelector();

Getting the Selected Date

In order to get the date selected by the user, the only thing you have to do is to access the value of the SelectedValue property. Here is an example.

CopyC#
DateTime value = this.radTimeSelector.SelectedValue;

Configuring the RadDatePicker

You are able to make the following configurations to the RadTimeSelector control: