ExpKeyboardInput 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class ExpKeyboardInput sealed : ExpInputObject
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedExperimentalContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ExpKeyboardInput final : ExpInputObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedExperimentalContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ExpKeyboardInput : ExpInputObject
Public NotInheritable Class ExpKeyboardInput
Inherits ExpInputObject
- 继承
- 属性
属性
| 名称 | 说明 |
|---|---|
| CurrentKeyEventDeviceId | |
| DispatcherQueue | (继承自 ExpInputObject) |
| InputSite | (继承自 ExpInputObject) |
方法
| 名称 | 说明 |
|---|---|
| Close() | (继承自 ExpInputObject) |
| Dispose() |
执行与释放或重置非托管资源关联的应用程序定义的任务。 (继承自 ExpInputObject) |
| GetCurrentKeyState(VirtualKey) | |
| GetForInputSite(ExpInputSite) | |
| GetKeyState(VirtualKey) | |
活动
| 名称 | 说明 |
|---|---|
| AcceleratorKeyActivated | |
| CharacterReceived | |
| ContextMenuKey | |
| KeyDown | |
| KeyUp | |
| SysKeyDown | |
| SysKeyUp | |