mc:Ignorable="d"
sets d:
prefix as a mark for attributes used in design. Read more on MSDN: mc:Ignorable Attribute
d:DesignHeight="500"
and d:DesignWidth="300"
use that d:
prefix, what makes them available only during design time - they are ignored after standard program compilation.