Media Element - Rounded Edges RRS feed

  • Question

  • Hi,

    Is there any posssible way of setting rounded edges to a media element?  I have a media element and need to set a rounded edge of 5px..



    Sunday, November 1, 2009 5:58 PM


  • You should be able to apply a clipping geometry to the media element just like any other element.

    Something like this:


                        <RectangleGeometry Rect="0,0,100,100" RadiusX="5" RadiusY="5"></RectangleGeometry>
     Where the Rect property is the dimensions of your MediaElement
    Sunday, November 1, 2009 7:56 PM