Windows Dev Center

MediaControl.StopPressed | stoppressed event

[MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.]

Event raised when a Stop command is issued to the application.

Syntax


public:
static event EventHandler<object>^ StopPressed {
   Windows::Foundation::EventRegistrationToken add(EventHandler<object>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

DelegateEventHandler [JavaScript] | System.EventHandler<Object> [.NET] | Windows.Foundation.EventHandler<Object> [C++]

Requirements (device family)

Device family

Desktop

API contract

Windows.Media.MediaControlContract, introduced version 1.0

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.Media.MediaControlContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

MediaControl

 

 

Show:
© 2015 Microsoft