MediaPlayerLauncher.Controls Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the flags that determine which controls are displayed in the media player application.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property Controls As MediaPlaybackControls
public MediaPlaybackControls Controls { get; set; }
<object Controls="MediaPlaybackControls" .../>

Property Value

Type: Microsoft.Phone.Tasks..::.MediaPlaybackControls
Type MediaPlaybackControls. The bitwise combination of MediaPlaybackControls members that determine which controls are displayed in the media player application.

Remarks

The media player application will display the controls specified in the Controls property when the Show method is called. Setting the property will not change the visible controls after the Show method is called.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

MediaPlayerLauncher Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the Media Player launcher for Windows Phone 8