Getting Started with UWP DatePicker (SfDatePicker)

This section explains how to create the SfDatePicker control

Adding SfDatePicker control

Create a Universal Windows Platform project in Visual Studio and refer to the following assemblies.

  • Syncfusion.SfInput.UWP

  • Syncfusion.SfShared.UWP

1.Include the namespace for Syncfusion.SfInput.UWP assembly in MainPage.xaml

<Page xmlns=""



2.Now add the SfDatePicker control with a required optimal name using the included namespace

<input:SfDatePicker x:Name="datePicker" VerticalAlignment="Center" Width="200" Margin="15"/>
SfDatePicker datePicker = new SfDatePicker() { VerticalAlignment = VerticalAlignment.Center, Width = 200, Margin = new Thickness(15) };
Dim datePicker As New SfDatePicker() With {.VerticalAlignment = VerticalAlignment.Center,.Width = 200,.Margin = New Thickness(15)}