WPF: Calendar.DisplayDate Dependency Property
Open
Bug
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
Please see the attached example, there is a Calendar and a Button.
<Calendar SelectedDate="{Binding DateTimeTest, Mode=TwoWay}"
DisplayDate="{Binding DateTimeTest, Mode=OneWay}" />
<Button Command="{Binding TodayCommand}"
Content="Today" />
The Button set the property DateTimeTest to DateTime.Today.
The workflow of the issue:
- Select the date 19. 3. 2010 via Calendar via selecting year from the top part (important).
- Press Today Button.
- The selected date of Calendar is not updated.
.NET Framework 4.7.1
_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/498724/wpf-calendardisplaydate-dependency-property.html
VSTS ticketId: 823387_
_These are the original issue comments:_
(no comments)
_These are the original issue solutions:_
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.