I'd like to modify the template of the DatePicker but I'm not sure exactly the best way to go about it. I know that currently if the user clicks on the already selected date then it sets the SelectedDate to null, but what I'd like is a button on the outside of the DatePicker that can be clicked to set the date to null.
So the control would look like
<Textbox with date><Button to bring up calendar><Button to set value to null>
The button would only be clickable when there is a date of course.
I'm considering just putting together a UserControl that has this functionality, but I was wondering if there's an easy way to do it using a DataTemplate.
So the control would look like
<Textbox with date><Button to bring up calendar><Button to set value to null>
The button would only be clickable when there is a date of course.
I'm considering just putting together a UserControl that has this functionality, but I was wondering if there's an easy way to do it using a DataTemplate.