MAUI | ComponentOne
C1.Maui.Core Assembly / C1.Maui.Core Namespace / C1KeyboardHelper Class / IsCtrlPressed Method
Data from keyboard routed events, as well as related attached and Preview events.
In This Topic
    IsCtrlPressed Method
    In This Topic
    Returns whether the Ctrl key is pressed.
    Syntax
    public static bool IsCtrlPressed( 
       KeyEventArgs keyEvent
    )

    Parameters

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

    Return Value

    true if the Ctrl key is pressed, false otherwise.
    See Also