[]
        
(Showing Draft Content)

C1.WPF.Core.C1KeyboardHelper.GetKey

GetKey Method

GetKey(KeyEventArgs)

Returns System.Windows.Input.Key that was pressed.

Declaration
public static Key GetKey(KeyEventArgs keyEvent)
Parameters
Type Name Description
KeyEventArgs keyEvent

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

Returns
Type Description
Key

true if the Command key is pressed, false otherwise.