MediaPlayerLauncher.Orientation Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the orientation in which the media player will be displayed when launched.
Namespace: Microsoft.Phone.Tasks
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property Orientation As MediaPlayerOrientation
public MediaPlayerOrientation Orientation { get; set; }
<object Orientation="MediaPlayerOrientation" .../>
Property Value
Type: Microsoft.Phone.Tasks..::.MediaPlayerOrientation
Type: MediaPlayerOrientation. The orientation in which the media player will be displayed when launched.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.Tasks Namespace