Jeaf Gilbert
Jeaf Gilbert

Reputation: 11991

Define DesignWidth and DesignHeight in StaticResource

I wonder if I can put mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" in StaticResource, is that possible?

Upvotes: 0

Views: 2615

Answers (1)

David
David

Reputation: 2795

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.

Upvotes: 5

Related Questions