[]
        
(Showing Draft Content)

C1.WinUI.Core.C1KeyboardHelper.GetChar

GetChar Method

GetChar(KeyRoutedEventArgs)

Returns char representation of Windows.System.VirtualKey that was pressed.

Declaration
public static char GetChar(KeyRoutedEventArgs keyEvent)
Public Shared Function GetChar(keyEvent As KeyRoutedEventArgs) As Char
Parameters
Type Name Description
KeyRoutedEventArgs keyEvent

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

Returns
Type Description
char

true if the Command key is pressed, false otherwise.