Class MediaElementAutomationPeer
Exposes MediaElement types to UI automation.
Inheritance
System.Object
MediaElementAutomationPeer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class MediaElementAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject
Constructors
| Improve this Doc View SourceMediaElementAutomationPeer(MediaElement)
Initializes a new instance of the MediaElementAutomationPeer class.
Declaration
public MediaElementAutomationPeer(MediaElement owner)
Parameters
| Type | Name | Description |
|---|---|---|
| MediaElement | owner | The MediaElement to associate with the MediaElementAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the element that is associated with this MediaElementAutomationPeer. This method is called by GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| AutomationControlType | A value of the enumeration |
Overrides
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the class that is associated with this MediaElementAutomationPeer. This method is called by GetClassName().
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The class name. |