Getting Started with Date and Time Picker for Xamarin

This article will guide you through the steps needed to add a basic RadDateTimePicker control in your application.

1. Setting up the app

Take a look at these articles and follow the instructions to setup your app:

2. Adding the required Telerik references

You have two options:

  • Add the Telerik UI for Xamarin Nuget packages following the instructions in Telerik NuGet package server topic.

  • Add the references to Telerik assemblies manually, check the list below with the required assemblies for RadDateTimePicker component:

Platform Assemblies
Portable Telerik.XamarinForms.Input
Telerik.XamarinForms.Common.dll
Telerik.XamarinForms.Primitives.dll
Telerik.XamarinForms.DataControls.dll
Telerik.XamarinForms.SkiaSharp.dll
Android Telerik.XamarinForms.Input
Telerik.XamarinForms.Common.dll
Telerik.XamarinForms.Primitives.dll
Telerik.XamarinForms.DataControls.dll
Telerik.XamarinForms.SkiaSharp.dll
iOS Telerik.XamarinForms.Input
Telerik.XamarinForms.Common.dll
Telerik.XamarinForms.Primitives.dll
Telerik.XamarinForms.DataControls.dll
Telerik.XamarinForms.SkiaSharp.dll
UWP Telerik.XamarinForms.Input
Telerik.XamarinForms.Common.dll
Telerik.XamarinForms.Primitives.dll
Telerik.XamarinForms.DataControls.dll
Telerik.XamarinForms.SkiaSharp.dll

3. Adding RadDateTimePicker control

You could use one of the following approaches:

Drag the control from the Toolbox.

Take a look at the following topics on how to use the toolbox:

Create the control definition in XAML or C#.

The snippet below shows a simple RadDateTimePicker definition:

<telerikInput:RadDateTimePicker />
In addition to this, you need to add the following namespace:
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
using Telerik.XamarinForms.Input;

This is the result:

RadDateTimePicker

SDK Browser and QSF applications contain different examples that show RadDateTimePicker's main features. You can find the applications in the Examples and QSF folders of your local Telerik UI for Xamarin installation.

See Also

In this article
Not finding the help you need? Improve this article