JustCode creates a warning for an unused XAML resource.
However, the XAML resource is referred to in the code:
myControl.Style = (Style)Resources[
I understand that it is difficult (or maybe even impossible, given end-user expectations of performance) to check for a resource that may be referred to in code.
Just a heads-up on what is fundamentally a bug though.