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

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: