Delen via


MediaElement.Stereo3DVideoRenderMode Property

Definition

Gets or sets an enumeration value that determines the stereo 3-D video render mode for the current media source.

public:
 property Stereo3DVideoRenderMode Stereo3DVideoRenderMode { Stereo3DVideoRenderMode get(); void set(Stereo3DVideoRenderMode value); };
Stereo3DVideoRenderMode Stereo3DVideoRenderMode();

void Stereo3DVideoRenderMode(Stereo3DVideoRenderMode value);
public Stereo3DVideoRenderMode Stereo3DVideoRenderMode { get; set; }
var stereo3DVideoRenderMode = mediaElement.stereo3DVideoRenderMode;
mediaElement.stereo3DVideoRenderMode = stereo3DVideoRenderMode;
Public Property Stereo3DVideoRenderMode As Stereo3DVideoRenderMode
<MediaElement Stereo3DVideoRenderMode="stereo3DVideoRenderModeMemberName" .../>

Property Value

A value of the enumeration.

Examples

<MediaElement x:Name="me1" Stereo3DVideoPackingMode="TopBottom" Stereo3DVideoRenderMode="Stereo"/>

Remarks

IsStereo3DVideo is an evaluated read-only property that is based on Stereo3DVideoRenderMode.

Set Stereo3DVideoRenderMode to Stereo when you want to enable the MediaElement to play 3D video. The API works in conjunction with Stereo3DVideoPackingMode, which lets you set the packing mode or allows the sub systems to infer it from the video file

Applies to