Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlayerElement.MediaPlayer Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the MediaPlayer instance used to render media.

public:
 property MediaPlayer ^ MediaPlayer { MediaPlayer ^ get(); };
MediaPlayer MediaPlayer();
public MediaPlayer MediaPlayer { get; }
var mediaPlayer = mediaPlayerElement.mediaPlayer;
Public ReadOnly Property MediaPlayer As MediaPlayer

Property Value

The MediaPlayer instance used to render media.

Remarks

You can use the SetMediaPlayer method to change the underlying MediaPlayer instance. Changing the MediaPlayer can cause non-trivial side effects because it can change other properties of the MediaPlayerElement.

Applies to


Feedback

Was this page helpful?