TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
XAML Coding Standard

NAM$005Checked automatically with code checker

Synopsis:Avoid giving a XAML element both an x:Key and an x:Name
Severity Level:1
Category:Naming Conventions


The x:Key directive should be reserved for resources. The x:Name directive should be used for all other XAML elements. If a resource is given both an x:Key and an x:Name, the x:Name is considered negligible and will have no effect.