Synopsis: | Avoid giving a XAML element both an x:Key and an x:Name |
Language: | XAML |
Severity Level: | 1 |
Category: | Naming Conventions |
Description: |
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. |