Witam.
Napisałem aplikację w WPF C#. Aplikacja działa wg mnie poprawnie. Ale jak z Visual Studio zamykam aplikacje to pojawiają się błędy jak poniżej w okienku output. Nie jestem w stanie dojść do tego dlaczego coś takiego się pokazuje
Jakie są metody analizy takich błędów w WPF?
Pozdrawiam.
Bogdan.
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.DataGrid', AncestorLevel='1''. BindingExpression:Path=AreRowDetailsFrozen; DataItem=null; target element is 'DataGridDetailsPresenter' (Name=''); target property is 'SelectiveScrollingOrientation' (type 'SelectiveScrollingOrientation')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.DataGrid', AncestorLevel='1''. BindingExpression:Path=HeadersVisibility; DataItem=null; target element is 'DataGridRowHeader' (Name=''); target property is 'Visibility' (type 'Visibility').