ReSharper's complaining about some of my XAML with the following error:
'Name' attribute is not allowed here because type 'FlashingTextBlock' is implemented in the same project. Use 'x:Name' instead
What's the problem here? Should I do what it says?
ReSharper's complaining about some of my XAML with the following error:
'Name' attribute is not allowed here because type 'FlashingTextBlock' is implemented in the same project. Use 'x:Name' instead
What's the problem here? Should I do what it says?
See an excellent explanations in this answer, and decide for your own ;)
Does FlashingTextBlock have a System.Windows.Markup.RuntimeNameProperty attribute?
According to "Windows Presentation Foundation Unleashed" by Adam Nathan:
... you can simply set its Name property to a string rather than use the x:Name syntax. You can use either mechanism, but you can't use both simultaneously.