I have a number of pages, each page has its own ViewModel
which inherits from BaseViewModel
.
On some pages there's a DatePicker
control of which SelectedDate
property is binding to a ReportDate
property in the BaseViewModel
.
However, I was just told that the DatePicker
controls on these pages should be using the same date, which means if user changes the date in the control on page 1, when he navigates to page 2, page 2 should show the same date as on page 1.
My first thought would be, to replace the ReportDate
with a static DateTime
property, but as far as I know that this is not possible (difficult?) in Silverlight.
Or is there a better way of doing this?