File: src\Framework\System\Windows\Automation\Peers\MediaElementAutomationPeer.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
using System;
using System.Windows;
using System.Windows.Controls;
 
namespace System.Windows.Automation.Peers
{
 
    /// 
    public class MediaElementAutomationPeer : FrameworkElementAutomationPeer
    {
        ///
        public MediaElementAutomationPeer(MediaElement owner)
            : base(owner)
        { }
 
        ///
        override protected string GetClassNameCore()
        {
            return "MediaElement";
        }
 
        ///
        override protected AutomationControlType GetAutomationControlTypeCore()
        {
            return AutomationControlType.Custom;
        }
    }
}