I have a little problem.
My small WPF Project with a normal Calendar get a System.StackOverflowException Exception, when I try to use DisplayDateStart="{Binding DisplayDate.Date.Date.Now, ElementName=MeinCalendar, Mode=OneWay}"
Binding.
I can start my Project without any errors, but when I click the Back and Next button a few times.Calendar throws the System.StackOverflowException
Exception.
When I start the project without Binding this Exception is not more there.
How can I fix this bug?
<Window x:Class="WpfMVVMtest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Calendar x:Name="calendar" DisplayDateStart="{Binding DisplayDate.Date.Now, ElementName=calendar, Mode=OneWay}" ></Calendar>