TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
XAML Coding Standard
Search

NAM$006Checked automatically with code checker

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


Description:

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"/>