[]
        
(Showing Draft Content)

C1.Maui.Core.C1KeyboardHelper.IsCommandPressed

IsCommandPressed Method

IsCommandPressed(KeyEventArgs)

Returns whether the Command key is pressed.

Declaration
public static bool IsCommandPressed(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 Command key is pressed, false otherwise.