开发者

Define DesignWidth and DesignHeight in StaticResource

开发者 https://www.devze.com 2023-01-06 17:46 出处:网络
I wonder if I can put mc:Ignorable=\"d\" d:DesignWidth=\"640\" d:DesignHeight=\"480\" in StaticResource, is that possib开发者_C百科le?The d: attributes are used by the designer and are ignored by the

I wonder if I can put mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" in StaticResource, is that possib开发者_C百科le?


The d: attributes are used by the designer and are ignored by the runtime. It makes no sense to put in StaticResource.

The mc:Ignorable relates to markup compatibility and needs to be applied in each document where it's markup root tag/namespace is specified.

0

精彩评论

暂无评论...
验证码 换一张
取 消