MediaCommands.TogglePlayPause Property


Gets the value that represents the Toggle Play Pause command.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static RoutedUICommand TogglePlayPause { get; }

Property Value

Type: System.Windows.Input.RoutedUICommand

The command.

Default Values

Key Gesture

No gesture defined.

UI Text

Toggle Play Pause

This command indicates the intention to toggle playback between play and pause.

There is not necessarily an actual implementation responding to the command on any given object; in many cases the implementation in response to that command is the responsibility of the application writer.

<object property="TogglePlayPause"/>

.NET Framework
Available since 3.0
Return to top