Class CharacterEventArgs
A typed character, from CharEntered. The flags come from the bits of Param, which TextInput does not supply, so they are false there.
public class CharacterEventArgs : EventArgs
- Inheritance
-
CharacterEventArgs
- Inherited Members
Constructors
CharacterEventArgs(char, int)
Creates the event data for character, with the raw key-message value
lParam.
public CharacterEventArgs(char character, int lParam)
Parameters
Properties
AltPressed
Bit 29 of Param: whether Alt was held.
public bool AltPressed { get; }
Property Value
Character
The character typed, as a UTF-16 code unit.
public char Character { get; }
Property Value
ExtendedKey
Bit 24 of Param: whether the key is an extended key.
public bool ExtendedKey { get; }
Property Value
Param
The raw key-message value that the flags below are read from.
public int Param { get; }
Property Value
PreviousState
Bit 30 of Param: whether the key was already down before this message.
public bool PreviousState { get; }
Property Value
TransitionState
Bit 31 of Param: whether the key is being released.
public bool TransitionState { get; }