Telerik UI for Windows 8 XAML

Add References

In order to use Telerik RadDatePicker and RadTimePicker controls in your application you have to add reference to the Telerik UI for Windows Universal SDK:

  • Right-click on your project -> and then choose Add Reference -> Windows -> Extensions -> Telerik UI for Windows Universal -> and then click/tap OK

If you choose to add binaries instead, you will need the following references:

  • Telerik.Core.dll

  • Telerik.UI.Xaml.Input.dll

  • Telerik.UI.Xaml.Primitives.dll

To add them:

  • Right-click on your project -> choose Add reference -> and then to Browse -> C:\Program Files (x86)\Telerik\Telerik UI for Windows Universal Qx 20xx\Binaries -> Select them and click OK.


To use RadDatePicker or RadTimePicker in XAML you have to add the following namespace declaration in the main page:


Declare Instances

The following example shows how to declare a new RadDatePicker or RadTimePicker instance :


XAML Copy imageCopy
C# Copy imageCopy
RadDatePicker myDatepicker = new RadDatePicker();


XAML Copy imageCopy
C# Copy imageCopy
RadTimePicker myTimePicker = new RadTimePicker();