[]
        
(Showing Draft Content)

C1.WinUI.Core.C1KeyboardHelper.IsCommandPressed

IsCommandPressed Method

IsCommandPressed(KeyRoutedEventArgs)

Returns whether the Command key is pressed.

Declaration
public static bool IsCommandPressed(KeyRoutedEventArgs keyEvent)
Public Shared Function IsCommandPressed(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 Command key is pressed, false otherwise.