I know that, but that isn't the issue. In both cases, the working code is exactly the same (apart from a few 'white spaces') as the none working code, but after a considerable time loss trying to rebuild, re-enter and a lot more to finally get it working.wriedmann wrote:when it comes to WPF, even X# is case sensitive.
You need to the declare the class in exactly the same upper/lower/camel case as you use in XAML,
So as I wrote to Nick, in this case it's definitely not code with a fault in it or a lack of knowledge or understanding of that specific code. It's VS which is unreliable and hundreds of other users report similar issues and 'solutions' ranging from switching modes to reinstalling VS.
Dick