Kategorie szkoleń | Egzaminy | Kontakt
  • 1
  • 2
  • 83

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').

Bogdan_Chlebowski_DCHK
  • Zapytał
  • @ Bogdan_Chlebowski_DCHK | 21.09.2015
    • 3
    • 4
    • 12
Zaloguj się aby zadać pytanie
Pokrewne

Odpowiedź (1)

  • 0
  • Odpowiedział
  • @ | 21.09.2015
  • TRENER ALTKOM AKADEMII