[]
        
(Showing Draft Content)

C1.WinUI.Core.C1KeyboardHelper.IsShiftPressed

IsShiftPressed Method

IsShiftPressed(KeyRoutedEventArgs)

Returns whether the Shift key is pressed.

Declaration
public static bool IsShiftPressed(KeyRoutedEventArgs keyEvent)
Public Shared Function IsShiftPressed(keyEvent As KeyRoutedEventArgs) As Boolean
Parameters
Type Name Description
KeyRoutedEventArgs keyEvent

Data from keyboard routed events, as well as related attached and Preview events.

Returns
Type Description
bool

true if the Shift key is pressed, false otherwise.