ShortcutKeyRequestArgs(VirtualKey, Boolean, KeyRoutedEventArgs) Constructor

Definition

Initializes a new instance of the ShortcutKeyRequestArgs class.

public ShortcutKeyRequestArgs (Windows.System.VirtualKey key, bool shiftKeyHeld, Windows.UI.Xaml.Input.KeyRoutedEventArgs args);
new Microsoft.Toolkit.Uwp.UI.Controls.ShortcutKeyRequestArgs : Windows.System.VirtualKey * bool * Windows.UI.Xaml.Input.KeyRoutedEventArgs -> Microsoft.Toolkit.Uwp.UI.Controls.ShortcutKeyRequestArgs
Public Sub New (key As VirtualKey, shiftKeyHeld As Boolean, args As KeyRoutedEventArgs)

Parameters

key
Windows.System.VirtualKey

Windows.System.VirtualKey pressed

shiftKeyHeld
Boolean

value indicating if the SHIFT key was pressed

args
Windows.UI.Xaml.Input.KeyRoutedEventArgs

Windows.UI.Xaml.Input.KeyRoutedEventArgs from the original event handler

Applies to