#81 – XAML Is Case Sensitive

XAML is case sensitive because the corresponding .NET objects, as well as their properties and event names, are also case sensitive.

The XAML below is fine (will compile):

 <Button Content="Click Me" Height="23" Width="75" Click="button1_Click" />

Changing the case of Button results in a compilation error:

 <BUTTON Content="Click Me" Height="23" Width="75" Click="button1_Click" />
Follow

Get every new post delivered to your Inbox.

Join 234 other followers