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

NAM$004Checked automatically with code checker

Synopsis:Do use x:Key to give resources a unique name
Language:XAML
Severity Level:1
Category:Naming Conventions


Description:

The x:Key directive is used to uniquely identify elements that are created and referenced in a XAML resource dictionary. It is the most common and preferred way to identify a resource in a resource dictionary

  <Color x:Key="AnnotationBlueColor"/>

  <Style x:Key="ButtonStyle" TargetType="{x:Type Button}">