MAUI | ComponentOne
C1.Maui.Core Assembly / C1.Maui.Core Namespace / C1KeyboardHelper Class / GetChar Method
Data from keyboard routed events, as well as related attached and Preview events.
In This Topic
    GetChar Method
    In This Topic
    Returns char representation of System.String that was pressed.
    Syntax
    public static char GetChar( 
       KeyEventArgs keyEvent
    )

    Parameters

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

    Return Value

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