SystemMediaTransportControlsButtonPressedEventArgs SystemMediaTransportControlsButtonPressedEventArgs SystemMediaTransportControlsButtonPressedEventArgs SystemMediaTransportControlsButtonPressedEventArgs SystemMediaTransportControlsButtonPressedEventArgs Class

Definition

Provides data for the SystemMediaTransportControls.ButtonPressed event.

public : sealed class SystemMediaTransportControlsButtonPressedEventArgs : ISystemMediaTransportControlsButtonPressedEventArgs
struct winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs : ISystemMediaTransportControlsButtonPressedEventArgs
public sealed class SystemMediaTransportControlsButtonPressedEventArgs : ISystemMediaTransportControlsButtonPressedEventArgs
Public NotInheritable Class SystemMediaTransportControlsButtonPressedEventArgs Implements ISystemMediaTransportControlsButtonPressedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The Button property indicates which button was pressed.

Properties

Button Button Button Button Button

Gets the button on the SystemMediaTransportControls that was pressed.

public : SystemMediaTransportControlsButton Button { get; }
SystemMediaTransportControlsButton Button();
public SystemMediaTransportControlsButton Button { get; }
Public ReadOnly Property Button As SystemMediaTransportControlsButton
var systemMediaTransportControlsButton = systemMediaTransportControlsButtonPressedEventArgs.button;