Uređivanje

Dijeli putem


MediaCommands.TogglePlayPause Property

Definition

Gets the value that represents the Toggle Play Pause command.

public:
 static property System::Windows::Input::RoutedUICommand ^ TogglePlayPause { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand TogglePlayPause { get; }
static member TogglePlayPause : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property TogglePlayPause As RoutedUICommand

Property Value

The command.

Default Values
Key Gesture No gesture defined.
UI Text Toggle Play Pause

Remarks

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.

XAML Attribute Usage

<object property="TogglePlayPause"/>  

Applies to

See also