ExpKeyboardInput 类

定义

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
继承
Object Platform::Object IInspectable ExpInputObject ExpKeyboardInput
属性

属性

CurrentKeyEventDeviceId
DispatcherQueue (继承自 ExpInputObject)
InputSite (继承自 ExpInputObject)

方法

Close() (继承自 ExpInputObject)
Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

(继承自 ExpInputObject)
GetCurrentKeyState(VirtualKey)
GetForInputSite(ExpInputSite)
GetKeyState(VirtualKey)

事件

AcceleratorKeyActivated
CharacterReceived
ContextMenuKey
KeyDown
KeyUp
SysKeyDown
SysKeyUp

适用于