Set Date on DateSelector Control from C# Code-Behind file

Jwan

When my WP8 application starts, I want the date selector to show a certain date that is calculated based on today's date.

How can I do this? When I reference my control from the C# code behind file, and attempt to .setValue(), the parameters asked by the method are DependencyProperty and ObjectValue !! I was expecting the DateSelector to accept a Date or DateTime value !

Can someone please tell me how I can set the date on my DateSelector UI XAML Control from the code behind file?

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.