AppCaptureAlternateShortcutKeys.ToggleGameBarKey Property

Definition

Gets or sets the toggle game bar shortcut key.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public:
 property VirtualKey ToggleGameBarKey { VirtualKey get(); void set(VirtualKey value); };
VirtualKey ToggleGameBarKey();

void ToggleGameBarKey(VirtualKey value);
public VirtualKey ToggleGameBarKey { get; set; }
var virtualKey = appCaptureAlternateShortcutKeys.toggleGameBarKey;
appCaptureAlternateShortcutKeys.toggleGameBarKey = virtualKey;
Public Property ToggleGameBarKey As VirtualKey

Property Value

The toggle game bar shortcut key.

Windows requirements

App capabilities
appCaptureSettings

Applies to

See also