skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class MediaElement

Inheritance
System.Object
AutomationObject<FrameworkElement>
FrameworkElement
SilverlightTestElement
MediaElement
Inherited Members
SilverlightTestElement.UseLayoutRoundingProperty
SilverlightTestElement.UseLayoutRounding
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualHeightProperty
FrameworkElement.WidthProperty
FrameworkElement.HeightProperty
FrameworkElement.MinWidthProperty
FrameworkElement.MaxWidthProperty
FrameworkElement.MinHeightProperty
FrameworkElement.MaxHeightProperty
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.MarginProperty
FrameworkElement.DesiredSizeProperty
FrameworkElement.RenderSizeProperty
FrameworkElement.NameProperty
FrameworkElement.TagProperty
FrameworkElement.DataContextProperty
FrameworkElement.OpacityProperty
FrameworkElement.ClipProperty
FrameworkElement.RenderTransformProperty
FrameworkElement.OpacityMaskProperty
FrameworkElement.RenderTransformOriginProperty
FrameworkElement.IsHitTestVisibleProperty
FrameworkElement.VisibilityProperty
FrameworkElement.GetIdentifier(String, String)
FrameworkElement.IsChild(FrameworkElement)
FrameworkElement.GetChildTagIndex(FrameworkElement)
FrameworkElement.InitializeMappings(MappingsCollection)
FrameworkElement.As<T>()
FrameworkElement.CastAs<T>()
FrameworkElement.SetProxy(Boolean)
FrameworkElement.SetUid(String)
FrameworkElement.SetFindInfo(VisualFindInfo)
FrameworkElement.SetXamlTag(String)
FrameworkElement.AssignReference(AutomationReference)
FrameworkElement.KeyPress(Keys, Int32, Int32, Int32)
FrameworkElement.GetRectangle()
FrameworkElement.GetRectangle(FrameworkElement)
FrameworkElement.GetIntRectangle()
FrameworkElement.IsHitTest()
FrameworkElement.IsHitTest(Boolean)
FrameworkElement.IsHitTest(FrameworkElement, Boolean)
FrameworkElement.Highlight()
FrameworkElement.Highlight(Boolean)
FrameworkElement.Parent()
FrameworkElement.Parent<T>()
FrameworkElement.Parent(String)
FrameworkElement.Parent(String, Boolean)
FrameworkElement.GetNextSibling()
FrameworkElement.GetPrevSibling()
FrameworkElement.NextSibling(String)
FrameworkElement.NextSibling<T>()
FrameworkElement.PreviousSibling(String)
FrameworkElement.PreviousSibling<T>()
FrameworkElement.AnySibling<T>()
FrameworkElement.AnySibling(String)
FrameworkElement.GetScreenRectangle()
FrameworkElement.ScrollToVisible()
FrameworkElement.ScrollToVisible(ScrollToVisibleType)
FrameworkElement.EnsureClickable()
FrameworkElement.ToXml()
FrameworkElement.Refresh()
FrameworkElement.Equals(Object)
FrameworkElement.GetHashCode()
FrameworkElement.GetProperties()
FrameworkElement.GetAttachedProperty<T>(String, String)
FrameworkElement.SetAttachedProperty<T>(String, String, T)
FrameworkElement.SetFocus()
FrameworkElement.ValidateMouseLocationIfNeeded(Point)
FrameworkElement.GetStringPresentation()
FrameworkElement.ToRealObject()
FrameworkElement.FromRealObject(Object)
FrameworkElement.ValidateType(Type, String)
FrameworkElement.GetKnownControlTypes(TechnologyType)
FrameworkElement.RegisterElement(Type, String)
FrameworkElement.InitKnownWpfControlTypes()
FrameworkElement.InitKnownSilverlightControlTypes()
FrameworkElement.InitKnownXamlControlTypes(Type)
FrameworkElement.GetControlTypeFromInterface(Type)
FrameworkElement.Match(IFindExpression)
FrameworkElement.SetDepth(Int32)
FrameworkElement.AddChildNode(ITargetElement)
FrameworkElement.SetClosingTag(ITargetElement)
FrameworkElement.GetChildren()
FrameworkElement.GetParent()
FrameworkElement.GetHostParent()
FrameworkElement.SetParent(ITargetElement)
FrameworkElement.GetUniqueHashCode()
FrameworkElement.ITargetElement.GetRectangle()
FrameworkElement.ToString()
FrameworkElement.Capture()
FrameworkElement.CaptureImage()
FrameworkElement.GetProperty<T>(String)
FrameworkElement.GetPropertyTypeSafe(String)
FrameworkElement.GetAutomationProperty(String)
FrameworkElement.SetProperty(String, Object)
FrameworkElement.ActualWidth
FrameworkElement.ActualHeight
FrameworkElement.Width
FrameworkElement.Height
FrameworkElement.MinWidth
FrameworkElement.MaxWidth
FrameworkElement.MinHeight
FrameworkElement.MaxHeight
FrameworkElement.HorizontalAlignment
FrameworkElement.VerticalAlignment
FrameworkElement.Margin
FrameworkElement.DesiredSize
FrameworkElement.RenderSize
FrameworkElement.Name
FrameworkElement.Opacity
FrameworkElement.Clip
FrameworkElement.RenderTransform
FrameworkElement.OpacityMask
FrameworkElement.RenderTransformOrigin
FrameworkElement.IsHitTestVisible
FrameworkElement.Visibility
FrameworkElement.Uid
FrameworkElement.Mappings
FrameworkElement.AutomationId
FrameworkElement.XamlTagBase
FrameworkElement.Text
FrameworkElement.TextBlockContent
FrameworkElement.TextLiteralContent
FrameworkElement.User
FrameworkElement.XamlTag
FrameworkElement.Wait
FrameworkElement.Find
FrameworkElement.Application
FrameworkElement.AbsoluteTagIndex
FrameworkElement.TagNameIndex
FrameworkElement.AbsoluteSiblingTagIndex
FrameworkElement.EnableValidateMouseLocation
FrameworkElement.ToolTipText
FrameworkElement.ComputedVisibility
FrameworkElement.IsVisible
FrameworkElement.Children
FrameworkElement.TechnologyType
FrameworkElement.Depth
FrameworkElement.IsTestRegion
FrameworkElement.ParsedElement
FrameworkElement.Host
AutomationObject<FrameworkElement>.GetProperty(AutomationProperty)
AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, Object)
AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, Object)
AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, Object[])
AutomationObject<FrameworkElement>.InvokeMethod(String, Object[])
AutomationObject<FrameworkElement>.Serialize()
AutomationObject<FrameworkElement>.Deserialize(String)
AutomationObject<FrameworkElement>.Reference
AutomationObject<FrameworkElement>.PropertyBag
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Silverlight.UI
Assembly: ArtOfTest.WebAii.dll

Syntax

public class MediaElement : SilverlightTestElement, IAutomationPeer, IPeerConverter, IFrameworkElement, ITargetElement

Constructors

MediaElement()

Declaration
public MediaElement()

Fields

AttributesProperty

Declaration
public static AutomationProperty AttributesProperty
Field Value
AutomationProperty

AudioStreamCountProperty

Declaration
public static AutomationProperty AudioStreamCountProperty
Field Value
AutomationProperty

AudioStreamIndexProperty

Declaration
public static AutomationProperty AudioStreamIndexProperty
Field Value
AutomationProperty

AutoPlayProperty

Declaration
public static AutomationProperty AutoPlayProperty
Field Value
AutomationProperty

BalanceProperty

Declaration
public static AutomationProperty BalanceProperty
Field Value
AutomationProperty

BufferingProgressProperty

Declaration
public static AutomationProperty BufferingProgressProperty
Field Value
AutomationProperty

BufferingTimeProperty

Declaration
public static AutomationProperty BufferingTimeProperty
Field Value
AutomationProperty

CanPauseProperty

Declaration
public static AutomationProperty CanPauseProperty
Field Value
AutomationProperty

CanSeekProperty

Declaration
public static AutomationProperty CanSeekProperty
Field Value
AutomationProperty

CurrentStateProperty

Declaration
public static AutomationProperty CurrentStateProperty
Field Value
AutomationProperty

DownloadProgressOffsetProperty

Declaration
public static AutomationProperty DownloadProgressOffsetProperty
Field Value
AutomationProperty

DownloadProgressProperty

Declaration
public static AutomationProperty DownloadProgressProperty
Field Value
AutomationProperty

DroppedFramesPerSecondProperty

Declaration
public static AutomationProperty DroppedFramesPerSecondProperty
Field Value
AutomationProperty

IsMutedProperty

Declaration
public static AutomationProperty IsMutedProperty
Field Value
AutomationProperty

NaturalDurationProperty

Declaration
public static AutomationProperty NaturalDurationProperty
Field Value
AutomationProperty

NaturalVideoHeightProperty

Declaration
public static AutomationProperty NaturalVideoHeightProperty
Field Value
AutomationProperty

NaturalVideoWidthProperty

Declaration
public static AutomationProperty NaturalVideoWidthProperty
Field Value
AutomationProperty

PositionProperty

Declaration
public static AutomationProperty PositionProperty
Field Value
AutomationProperty

RenderedFramesPerSecondProperty

Declaration
public static AutomationProperty RenderedFramesPerSecondProperty
Field Value
AutomationProperty

SourceProperty

Declaration
public static AutomationProperty SourceProperty
Field Value
AutomationProperty

StretchProperty

Declaration
public static AutomationProperty StretchProperty
Field Value
AutomationProperty

VolumeProperty

Declaration
public static AutomationProperty VolumeProperty
Field Value
AutomationProperty

Properties

Attributes

Declaration
public Dictionary<string, string> Attributes { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.String>

AudioStreamCount

Declaration
public int AudioStreamCount { get; set; }
Property Value
System.Int32

AudioStreamIndex

Declaration
public int? AudioStreamIndex { get; set; }
Property Value
System.Nullable<System.Int32>

AutoPlay

Declaration
public bool AutoPlay { get; set; }
Property Value
System.Boolean

Balance

Declaration
public double Balance { get; set; }
Property Value
System.Double

BufferingProgress

Declaration
public double BufferingProgress { get; set; }
Property Value
System.Double

BufferingTime

Declaration
public TimeSpan BufferingTime { get; set; }
Property Value
TimeSpan

CanPause

Declaration
public bool CanPause { get; set; }
Property Value
System.Boolean

CanSeek

Declaration
public bool CanSeek { get; set; }
Property Value
System.Boolean

CurrentState

Declaration
public MediaElementState CurrentState { get; set; }
Property Value
MediaElementState

DownloadProgress

Declaration
public double DownloadProgress { get; set; }
Property Value
System.Double

DownloadProgressOffset

Declaration
public double DownloadProgressOffset { get; set; }
Property Value
System.Double

DroppedFramesPerSecond

Declaration
public double DroppedFramesPerSecond { get; set; }
Property Value
System.Double

IsMuted

Declaration
public bool IsMuted { get; set; }
Property Value
System.Boolean

NaturalDuration

Declaration
public Duration NaturalDuration { get; set; }
Property Value
Duration

NaturalVideoHeight

Declaration
public int NaturalVideoHeight { get; set; }
Property Value
System.Int32

NaturalVideoWidth

Declaration
public int NaturalVideoWidth { get; set; }
Property Value
System.Int32

Position

Declaration
public TimeSpan Position { get; set; }
Property Value
TimeSpan

RenderedFramesPerSecond

Declaration
public double RenderedFramesPerSecond { get; set; }
Property Value
System.Double

Source

Declaration
public string Source { get; }
Property Value
System.String

Stretch

Declaration
public Stretch Stretch { get; set; }
Property Value
Stretch

Volume

Declaration
public double Volume { get; set; }
Property Value
System.Double

Methods

GetRealType()

Declaration
public override string GetRealType()
Returns
System.String

Overrides
FrameworkElement.GetRealType()
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.