[]
        
(Showing Draft Content)

C1.Maui.Core.C1KeyboardHelper.IsCtrlPressed

IsCtrlPressed Method

IsCtrlPressed(KeyEventArgs)

Returns whether the Ctrl key is pressed.

Declaration
public static bool IsCtrlPressed(KeyEventArgs keyEvent)
Parameters
Type Name Description
KeyEventArgs keyEvent

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

Returns
Type Description
bool

true if the Ctrl key is pressed, false otherwise.