-
Book Overview & Buying
-
Table Of Contents
Windows Application Development Cookbook
By :
When a user of your application enters a particular date or time, such as a birth date or a time when an order should be delivered, it is a good idea to provide a built-in mechanism of choosing the date and time. Such mechanisms allow a user to select them in a comfortable way, without the necessity of entering such information in a textual form. In this recipe, you will learn how to choose a date either from the calendar or a list and how to specify time by choosing a particular hour and minute.
To step through this recipe, you only need the automatically generated project.
To allow a user to choose date or time in a few ways, perform the following steps:
To add the CalendarDatePicker control to the page, which will allow a user to choose a date from the calendar, modify the content of the MainPage.xaml file as follows:
<Page (...)>
<StackPanel Padding="20">
<CalendarDatePicker...