What does mc:Ignorable=“d” mean in WPF?

后端 未结 3 1543
执念已碎
执念已碎 2021-01-30 12:21

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

And this row:

d:DesignHeight=\"500\" 
d:DesignWidth=\"300\"
3条回答
  •  星月不相逢
    2021-01-30 12:41

    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.

提交回复
热议问题