ShortcutKeyRequestArgs(VirtualKey, Boolean, KeyRoutedEventArgs) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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