[]
        
(Showing Draft Content)

C1.Maui.Core.C1KeyboardHelper.IsAltPressed

IsAltPressed Method

IsAltPressed(KeyEventArgs)

Returns whether the Alt key is pressed.

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