The MediaElement doesn’t support rounded corners (radiusx, radiusy). Should I use a VideoBrush on a Rectangle with rounded corners?
The MediaElement doesn’t support rounded corners (radiusx, radiusy). Should I use a VideoBrush on
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yeah – In a way you’re both asking and answering the question yourself… But that is one of the two options I can think of. The reasons that might be a problem is that you lose some of the features/control you get from the MediaElement control. Another option is to do this:
That way you’re still using a MediaElement control, but you can ‘clip’ away what ever you want to get the desired rounded effect.
This example shows a clipped MediaElement. I know it’s not easy to picture the vector path, but if you open it open in Blend you will see a rounded MediaElement.