Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does mc:Ignorable="d" mean in WPF?

Tags:

c#

wpf

xaml

What does mc:Ignorable="d" mean in WPF?

And this row:

d:DesignHeight="500"  d:DesignWidth="300" 
like image 550
user2209075 Avatar asked Apr 01 '13 18:04

user2209075


1 Answers

The mc:Ignorable namespace provides xaml definitions that are "ignored" by the xaml processor.

This allows you to specify information used by the designer at design time which is ignored at runtime. In your case, you can specify DesignHeight and DesignWidth, which are not "real" properties on a Window, but work in the designer for providing a default design time experience.

like image 56
Reed Copsey Avatar answered Oct 01 '22 09:10

Reed Copsey