I have a list of dates I would like the user to select from. These dates are not sequentially right after each other and can be scattered thought a given period of time. Because of the dates being in a scattered nature, I can not use the "DisplayDateStart" and "DisplayDateEnd" properties of the WPF "DatePicker" control. Is there a way I can make the date picker grey out all other dates that are not in a given list. Below is snippet of "pseudo" code demonstrating what I would like to accomplish.
public void foo(List<DateTime> ldtData, DatePicker dpPicker) {
dpPicker.EnabledDates = ldtData; // What I would like to do in a perfect world (:
}