Share via


MediaPlayer.Source Property

Gets or sets the source file that is used as the media skin.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Overrides Property Source As String
    Get
    Set
'Usage
Dim instance As MediaPlayer
Dim value As String

value = instance.Source

instance.Source = value
[BrowsableAttribute(false)]
public override string Source { get; set; }

Property Value

Type: System.String
The XAML file that is used as the skin for the MediaPlayer control.

Remarks

This property gets or sets the MediaSkinSource property.

You should use the MediaSkinSource property for the media player skin and not use the Source property.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

MediaPlayer Class

MediaPlayer Members

System.Web.UI.SilverlightControls Namespace

MediaSkinSource

Other Resources

XAML Elements of the MediaPlayer Skin