I have the following element inside a template, which is supposed to create a rectangle with a hollow section in the middle. It is shown ok in Blend, but in the phone or the emulator the Clip property is ignored and it’s shown as a plain rectangle.
<Border x:Name="Background" Background="#FF3FC4FF" Clip="M0,0L0,0L94,0L94,94L0,94M6,6L6,6L88,6L88,61L6,61" />
Is the UIElement.Clip property supposed to work in WP7?
Thanks in advance.
Thanks for your help. I finally made it work by rearranging the points in the path: