This article demonstrates the use of a DatePicker control in Windows Phone 7. By default the DatePicker shows today's date; when the control is clicked a dialog should open for selecting day, month and year; then after clicking done, the selected date should load into the control.Steps to do:
<toolkit:DatePicker HorizontalAlignment="Left" Margin="149,219,0,0" Name="txtPostedOn" VerticalAlignment="Top" Width="325" Height="55" FontFamily="Verdana" FontSize="13.333" Foreground="#FFDA4D4D" />Image 1.Image 2.After adding control on page it looks like this. When click on control this window should open.Image 3.Here you can select Month, Day and year by clicking on these rectangles like this. You can scroll top and bottom.Note - These cross icon images shows left one is for done and right icon for cancel.Image 4.When you are done with this click on the Done icon.Image 5.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: