#81 – XAML Is Case Sensitive
October 1, 2010 Leave a comment
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" />