The attached exe shows 3 issues.
a) If you click on an invalid date the popup closes and “accepts” a different date to the one clicked.
Run the exe and click to show the popup.
Go back to May
Click on the 4th of may.
The popup closes and 17 May is shown as having been selected.
b) You can’t tell that dates before 17th May or after 8 June are invalid.
Run the exe and click to show the popup.
c) If you click on next month when in the month of the max date it animates “to” the same month, and may change the selected Day of the Month.
It took me a while to realise it wasn’t changing. Less technical users may struggle.
previous month has the same problem.
Note: Next / prev year doesn’t limit the new date to be in the min/max.
Run the exe and click to show the popup.
Click next month.
There is an option With fixes when checked
a) If the LMouseButtonDown didn’t select the cell then the LMouseButtonUp does not call CalenderClick
b) It blends with GetGlobalColour instead of Canvas.Bruch.Color
c) If ChangeMonth doesn’t change the month it doesn’t do the if/else block