To debug XAML Binding you can add
reference to Diagnostics from WindowsBase dll to the XAML file,
then when binding to some property add PresentationTraceSources.TraceLevel. When you run it check out
the output window.
<TextBlock Text="{Binding someProperty, diagnostics:PresentationTraceSources.TraceLevel=High}"/>
<TextBlock Text="{Binding someProperty, diagnostics:PresentationTraceSources.TraceLevel=High}"/>
No comments:
Post a Comment