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

NAM$006Checked automatically with code checker

Synopsis:Do use camel casing for the x:Name
Severity Level:1
Category:Naming Conventions


The x:Name is equivalent to a variable or a private field that holds an object reference or an instance as returned by a constructor. Therefore, the same naming conventions should apply that apply to variables or private fields in C#.

  <Button x:Name="CancelButton"/> 

  <Button x:Name="cancelButton"/>