Describe the bug
If you initially set the properties DisplayDateStart and DisplayDateEnd the Calendar in the drop down shows correctly, but if you want to adjust the dates manually these changes are ignored.
I think there are two possible options to fix this:
Use TemplateBinding which is I think the way to go, but it is a breaking change as custom styles will need to be changed also (like FluentAvalonia etc)
Create the needed bindings in code behind which may be less flexible than (1) but is not a breaking change here.
Which solution do you prefer? I can provide a PR if I know which way you like more.
Describe the bug If you initially set the properties
DisplayDateStart
andDisplayDateEnd
theCalendar
in the drop down shows correctly, but if you want to adjust the dates manually these changes are ignored.To Reproduce Steps to reproduce the behavior:
Expected behavior Any change to the value should be reflected in the drop down
Screenshots Upper and lower bounds should adjust the selectable / visible range in the drop down, but it doesn't
Desktop (please complete the following information):
Additional context I think this comes from these lines: https://github.com/AvaloniaUI/Avalonia/blob/885f66f769979dcbcd448d28d478909a9f69ae60/src/Avalonia.Controls/Calendar/CalendarDatePicker.cs#L459-L483
I think there are two possible options to fix this:
TemplateBinding
which is I think the way to go, but it is a breaking change as custom styles will need to be changed also (like FluentAvalonia etc)Happy coding Tim