Customizing the Full-Screen Picker Page
Both the DatePicker
and TimePicker
allow you to change the full-screen picker page using the DateTimePickerBase.PickerPageUri
property. This property is normally specified using a component URI, with the assembly and path to the PhoneApplicationPage
. In the following example a DatePicker
uses a custom picker page, located in an Examples assembly:
<toolkit:DatePicker Value="{Binding Date, Mode=TwoWay}" Header="date with custom picker" PickerPageUri="/Examples;component/CustomDatePickerView.xaml" />
The task of the picker page is to allow the user to select a DateTime
value, and then to use the NavigationService
to navigate back to the original ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.