mc:Ignorable attribute in Windows Phone XAML Page

Published on June 16, 2013 by abundantcode

Filed under Windows Phone

Last modified June 16, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 3232 times

When a new Windows Phone Project is created, it creates the MainPage.xaml by default. This page contains the attribute

mc:Ignorable=”d”

This is an attribute which indicates to the compiler to ignore any other attributes that starts with “d”.

For example, the attributes d: DesignHeight or d: DesignWidth is a typical example of the compiler ignoring the height and width attributes.

These attributes are only used by the IDE to render the page at design time.

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

How to delete user account from command line in Windows 10 ?

You can delete a user account from command line in Windows 10 using the net user command and specify...

How to add new user account from command line in Windows 10 ?

You can add a new user account in Windows 10 using command prompt using the net user command and pas...

How to open display settings from command line in Windows 10 ?

The display properties can be found in the settings app in Windows 10 which lets the users to config...