Skip to content

Instantly share code, notes, and snippets.

@gscattolin
Created August 16, 2014 08:20
Show Gist options
  • Select an option

  • Save gscattolin/9b214b20792467d27700 to your computer and use it in GitHub Desktop.

Select an option

Save gscattolin/9b214b20792467d27700 to your computer and use it in GitHub Desktop.
WPF Debug Bindings TraceLevel
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
Title="MainWindow" Height="350" Width="525">
<Grid>
<TextBlock Text="{Binding ThereIsNoDataContext,
diag:PresentationTraceSources.TraceLevel=High}"/>
</Grid>
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment