Expand Minimize

MediaElement.Source property

Applies to Windows and Windows Phone

Gets or sets a media source on the MediaElement.

Syntax


public Uri Source { get; set; }


<MediaElement Source="uri" .../>

Property value

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

The source of the element, as an object describing a URI. The default value is null.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

MediaElement

 

 

Show:
© 2015 Microsoft