Synopsis: | Consider putting the XAML element type and the x:Name together on the first line |
Language: | XAML |
Severity Level: | 1 |
Category: | Organization and Layout |
Description: |
Putting the XAML type and the x:Name on the same line lets the reader of your code glance both the type and the unique name of a XAML element at once. It is almost like declaring a variable in C# code. You should also consider putting nothing else on the same line as the XAML type and the x:Name.
✔ |