Class
MediaElement

Definition

Namespace:ArtOfTest.WebAii.Silverlight.UI

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class MediaElement : SilverlightTestElement, IAutomationPeer, IPeerConverter, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementMediaElement

Implements: IAutomationPeerIFrameworkElementIPeerConverterITargetElement

Inherited Members SilverlightTestElement.UseLayoutRoundingPropertySilverlightTestElement.UseLayoutRoundingFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.AssignReference(AutomationReference)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)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(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ComputedVisibilityFrameworkElement.IsVisibleFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

MediaElement()

Declaration

cs-api-definition
public MediaElement()

Fields

AttributesProperty

Declaration

cs-api-definition
public static AutomationProperty AttributesProperty

Field Value

AutomationProperty

AudioStreamCountProperty

Declaration

cs-api-definition
public static AutomationProperty AudioStreamCountProperty

Field Value

AutomationProperty

AudioStreamIndexProperty

Declaration

cs-api-definition
public static AutomationProperty AudioStreamIndexProperty

Field Value

AutomationProperty

AutoPlayProperty

Declaration

cs-api-definition
public static AutomationProperty AutoPlayProperty

Field Value

AutomationProperty

BalanceProperty

Declaration

cs-api-definition
public static AutomationProperty BalanceProperty

Field Value

AutomationProperty

BufferingProgressProperty

Declaration

cs-api-definition
public static AutomationProperty BufferingProgressProperty

Field Value

AutomationProperty

BufferingTimeProperty

Declaration

cs-api-definition
public static AutomationProperty BufferingTimeProperty

Field Value

AutomationProperty

CanPauseProperty

Declaration

cs-api-definition
public static AutomationProperty CanPauseProperty

Field Value

AutomationProperty

CanSeekProperty

Declaration

cs-api-definition
public static AutomationProperty CanSeekProperty

Field Value

AutomationProperty

CurrentStateProperty

Declaration

cs-api-definition
public static AutomationProperty CurrentStateProperty

Field Value

AutomationProperty

DownloadProgressOffsetProperty

Declaration

cs-api-definition
public static AutomationProperty DownloadProgressOffsetProperty

Field Value

AutomationProperty

DownloadProgressProperty

Declaration

cs-api-definition
public static AutomationProperty DownloadProgressProperty

Field Value

AutomationProperty

DroppedFramesPerSecondProperty

Declaration

cs-api-definition
public static AutomationProperty DroppedFramesPerSecondProperty

Field Value

AutomationProperty

IsMutedProperty

Declaration

cs-api-definition
public static AutomationProperty IsMutedProperty

Field Value

AutomationProperty

NaturalDurationProperty

Declaration

cs-api-definition
public static AutomationProperty NaturalDurationProperty

Field Value

AutomationProperty

NaturalVideoHeightProperty

Declaration

cs-api-definition
public static AutomationProperty NaturalVideoHeightProperty

Field Value

AutomationProperty

NaturalVideoWidthProperty

Declaration

cs-api-definition
public static AutomationProperty NaturalVideoWidthProperty

Field Value

AutomationProperty

PositionProperty

Declaration

cs-api-definition
public static AutomationProperty PositionProperty

Field Value

AutomationProperty

RenderedFramesPerSecondProperty

Declaration

cs-api-definition
public static AutomationProperty RenderedFramesPerSecondProperty

Field Value

AutomationProperty

SourceProperty

Declaration

cs-api-definition
public static AutomationProperty SourceProperty

Field Value

AutomationProperty

StretchProperty

Declaration

cs-api-definition
public static AutomationProperty StretchProperty

Field Value

AutomationProperty

VolumeProperty

Declaration

cs-api-definition
public static AutomationProperty VolumeProperty

Field Value

AutomationProperty

Properties

Attributes

Declaration

cs-api-definition
public Dictionary<string, string> Attributes { get; set; }

Property Value

Dictionary<string, string>

AudioStreamCount

Declaration

cs-api-definition
public int AudioStreamCount { get; set; }

Property Value

int

AudioStreamIndex

Declaration

cs-api-definition
public int? AudioStreamIndex { get; set; }

Property Value

int?

AutoPlay

Declaration

cs-api-definition
public bool AutoPlay { get; set; }

Property Value

bool

Balance

Declaration

cs-api-definition
public double Balance { get; set; }

Property Value

double

BufferingProgress

Declaration

cs-api-definition
public double BufferingProgress { get; set; }

Property Value

double

BufferingTime

Declaration

cs-api-definition
public TimeSpan BufferingTime { get; set; }

Property Value

TimeSpan

CanPause

Declaration

cs-api-definition
public bool CanPause { get; set; }

Property Value

bool

CanSeek

Declaration

cs-api-definition
public bool CanSeek { get; set; }

Property Value

bool

CurrentState

Declaration

cs-api-definition
public MediaElementState CurrentState { get; set; }

Property Value

MediaElementState

DownloadProgress

Declaration

cs-api-definition
public double DownloadProgress { get; set; }

Property Value

double

DownloadProgressOffset

Declaration

cs-api-definition
public double DownloadProgressOffset { get; set; }

Property Value

double

DroppedFramesPerSecond

Declaration

cs-api-definition
public double DroppedFramesPerSecond { get; set; }

Property Value

double

IsMuted

Declaration

cs-api-definition
public bool IsMuted { get; set; }

Property Value

bool

NaturalDuration

Declaration

cs-api-definition
public Duration NaturalDuration { get; set; }

Property Value

Duration

NaturalVideoHeight

Declaration

cs-api-definition
public int NaturalVideoHeight { get; set; }

Property Value

int

NaturalVideoWidth

Declaration

cs-api-definition
public int NaturalVideoWidth { get; set; }

Property Value

int

Position

Declaration

cs-api-definition
public TimeSpan Position { get; set; }

Property Value

TimeSpan

RenderedFramesPerSecond

Declaration

cs-api-definition
public double RenderedFramesPerSecond { get; set; }

Property Value

double

Source

Declaration

cs-api-definition
public string Source { get; }

Property Value

string

Stretch

Declaration

cs-api-definition
public Stretch Stretch { get; set; }

Property Value

Stretch

Volume

Declaration

cs-api-definition
public double Volume { get; set; }

Property Value

double

Methods

GetRealType()

Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.

Declaration

cs-api-definition
public override string GetRealType()

Returns

string

Overrides FrameworkElement.GetRealType()