Getting Started

This section explains how to create the SfTimePicker control

Adding SfTimePicker 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="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:input="using:Syncfusion.UI.Xaml.Controls.Input">

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

<syncfusion:SfTimePicker x:Name="timePicker" VerticalAlignment="Center" Width="200" Margin="15"/>
SfTimePicker timePicker = new SfTimePicker();
Dim timePicker As New SfTimePicker()