mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-06 17:50:49 +08:00
feat: fix calendar related two way template binding.
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
DisplayDateStart="{TemplateBinding DisplayDateStart}"
|
||||
FirstDayOfWeek="{TemplateBinding FirstDayOfWeek}"
|
||||
IsTodayHighlighted="{TemplateBinding IsTodayHighlighted}"
|
||||
SelectedDate="{TemplateBinding SelectedDate, Mode=TwoWay}">
|
||||
SelectedDate="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=SelectedDate, Mode=TwoWay}">
|
||||
</Calendar>
|
||||
</Border>
|
||||
</Popup>
|
||||
|
||||
Reference in New Issue
Block a user