I am trying to create a custom MediaElement , and the 1st thing I need is to inherit it from the MediaElement .
But this is simply not happneing when I try to inherit like following:
CustomMediaControl : MediaElement
{
}
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.
MediaElementis declared asealedclass — cannot be inherited.Documentation is here: http://msdn.microsoft.com/en-us/library/system.windows.controls.mediaelement(VS.95).aspx