Hi,
I have added Date Picker in my windows phone app programmatically:-
this.datePicker = new DatePickerCustom();
this.datePicker.IsTabStop = false;
this.datePicker.MaxHeight = 0;
this.datePicker.ValueChanged += new EventHandler(datePicker_ValueChanged);
LayoutRoot.Children.Add(this.datePicker);
dp.Text = DateTime.Now.ToString("d MMMM yyyy HH:mm:ss");
I want to limit the datepicker by setting a min and max date.How can I do it in Windows Phone 8?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Prasham SabadraRank #116 · 19.3K reputationPosted Feb 22, 2015, 8:39 PM EST
By default it seems that there is no default min and max values. But please have a look once at following thread:
http://stackoverflow.com/questions/9031509/limit-date-range-in-a-datepicker