Telerik UI for Windows Phone by Progress

RadDateSelector provides you with an UI that is used for selecting a date. In order to use the RadDateSelector 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 assembly, you can declare a new RadDateSelector instance as any normal Silverlight control.

Note

To use RadDateSelector 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:RadDateSelector x:Name="radDateSelector" />
CopyC#
RadDateSelector radDateSelector = new RadDateSelector();

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.radDateSelector.SelectedValue;

Configuring the RadDatePicker

You are able to make the following configurations to RadDateSelector: