MetaKeyStates Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines meta-key state bits reported by key events.
public enum MetaKeyStates
type MetaKeyStates =
- Inheritance
-
MetaKeyStates
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Represents the absence of meta-key state bits. |
| ShiftOn | 1 | Indicates the shift on meta-key state bit. |
| AltOn | 2 | Indicates the alt on meta-key state bit. |
| SymOn | 4 | Indicates the sym on meta-key state bit. |
| FunctionOn | 8 | Indicates the function on meta-key state bit. |
| AltLeftOn | 16 | Indicates the alt left on meta-key state bit. |
| AltRightOn | 32 | Indicates the alt right on meta-key state bit. |
| AltMask | 50 | This mask is a combination of AltOn, AltLeftOn and AltRightOn. |
| ShiftLeftOn | 64 | Indicates the shift left on meta-key state bit. |
| ShiftRightOn | 128 | Indicates the shift right on meta-key state bit. |
| ShiftMask | 193 | Indicates the shift mask meta-key state bit. |
| CtrlOn | 4096 | Indicates the ctrl on meta-key state bit. |
| CtrlLeftOn | 8192 | Indicates the ctrl left on meta-key state bit. |
| CtrlRightOn | 16384 | Indicates the ctrl right on meta-key state bit. |
| CtrlMask | 28672 | Indicates the ctrl mask meta-key state bit. |
| MetaOn | 65536 | Indicates the meta on meta-key state bit. |
| MetaLeftOn | 131072 | Indicates the meta left on meta-key state bit. |
| MetaRightOn | 262144 | Indicates the meta right on meta-key state bit. |
| MetaMask | 458752 | Indicates the meta mask meta-key state bit. |
| CapsLockOn | 1048576 | Indicates the caps lock on meta-key state bit. |
| NumLockOn | 2097152 | Indicates the num lock on meta-key state bit. |
| ScrollLockOn | 4194304 | Indicates the scroll lock on meta-key state bit. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.