Microsoft.UI.Input 命名空间

提供对 Windows 输入系统的支持。 这包括:

  • 触摸、笔/触笔、鼠标和键盘设备输入。
  • 手势和操作检测、识别和处理。
  • 惯性配置、检测和处理。
  • 输入指针管理。

CharacterReceivedEventArgs

包含 InputKeyboardSource.CharacterReceived 事件的事件数据。

ContextMenuKeyEventArgs

包含 InputKeyboardSource.ContextMenuKey 事件的事件数据。

CrossSlidingEventArgs

包含 CrossSliding 事件的事件数据。

DraggingEventArgs

包含 拖动 事件的事件数据。

FocusChangedEventArgs

包含 InputFocusController.GotFocusInputFocusController.LostFocus 事件的事件数据。

FocusNavigationRequest

提供有关焦点导航事件的详细信息。

FocusNavigationRequestEventArgs

包含 InputFocusController.NavigateFocusRequestedInputFocusNavigationHost.DepartFocusRequested 事件的事件数据。

GestureRecognizer

提供手势和操作识别、事件侦听器和设置。

有关此 API 的更多详细信息,请参阅 UWP WinRT GestureRecognizer 主题。

HoldingEventArgs

包含 Holding 事件的事件数据。

InputActivationListener

提供访问和观察对象激活状态更改的功能。

InputActivationListenerActivationChangedEventArgs

包含事件的事件数据 InputActivationChanged

InputCursor

可应用于 InputPointerSource 的视觉指针对象的基类。

InputCustomCursor

可应用于 InputPointerSource 的自定义视觉指针对象。

未实现:请参阅Windows 应用 SDK的稳定通道发行说明

InputDesktopNamedResourceCursor

表示使用应用程序资源而不是预定义系统游标的可视指针对象。

InputDesktopResourceCursor

表示使用应用程序资源而不是预定义系统游标的可视指针对象。

InputFocusChangedEventArgs

包含 InputFocusController.GotFocusInputFocusController.LostFocus 事件的事件数据。

InputFocusController

表示一个对象,该对象支持处理和管理 ContentIsland 上的焦点事件。

InputFocusNavigationHost

使托管 Content.ContentIsland 的应用程序能够创建和响应托管应用程序和 ContentIsland 之间的焦点移动请求。

InputKeyboardSource

处理当前线程的键盘输入。

InputLightDismissAction

基于检测当前窗口外部或特定键盘输入的任何位置的交互事件,启用当前窗口的关闭。

InputLightDismissEventArgs

提供 已消除 事件的数据。

InputNonClientPointerSource

在窗口的非工作区中处理指针输入。

InputObject

所有输入对象的基类。

InputPointerSource

表示注册为报告指针输入并提供指针光标和输入事件处理的对象。

InputPreTranslateKeyboardSource

为当前线程启用键盘输入的预转换。

InputSystemCursor

表示使用预定义系统光标(如 HandIBeamArrow)的视觉指针对象。

KeyboardInput

允许处理当前线程的键盘输入。

KeyEventArgs

为各种键向上和向下键事件提供事件数据。

ManipulationCompletedEventArgs

包含 ManipulationCompleted 事件的事件数据。

ManipulationInertiaStartingEventArgs

包含 GestureRecognizer.ManipulationInertiaStartingEvent 的事件数据。

ManipulationStartedEventArgs

包含 ManipulationStarted 事件的事件数据。

ManipulationUpdatedEventArgs

包含 ManipulationUpdated 事件的事件数据。

MouseWheelParameters

提供与鼠标设备的按钮滚轮关联的属性。

NonClientCaptionTappedEventArgs

包含事件的事件数据 CaptionTapped

NonClientPointerEventArgs

为各种指针事件提供事件数据。

NonClientRegionsChangedEventArgs

包含 InputNonClientPointerSource.RegionsChanged 事件的事件数据。

PointerEventArgs

包含最后一个指针事件返回的参数。

PointerPoint

为与单个鼠标、笔/触笔或触摸接触关联的输入指针提供基本属性。

PointerPointProperties

PointerPoint 对象提供扩展属性。

PointerPredictor

提供对生成 PointerPoint 对象的集合的支持,这些对象预测当前输入 指针的最可能路径。

RightTappedEventArgs

包含 GestureRecognizer.RightTapped 事件的事件数据。

有关此 API 的更多详细信息,请参阅 UWP WinRT RightTappedEventArgs 主题。

TappedEventArgs

包含 点击 事件的事件数据。

有关此 API 的更多详细信息,请参阅 UWP WinRT TappedEventArgs 主题。

结构

CrossSlideThresholds

包含 CrossSliding 交互的距离阈值。

ManipulationDelta

包含当前操作的累积转换。

ManipulationVelocities

描述操作发生的速度。

PhysicalKeyStatus

指定物理键盘键的可能状态。

接口

IPointerPointTransform

提供通用转换函数。

枚举

CrossSlidingState

指定 CrossSliding 事件的可能状态。

DraggingState

指定 拖动 事件的可能状态。

FocusNavigationReason

指定焦点导航事件的可能原因。

FocusNavigationResult

指定焦点导航事件的可能结果。

GestureSettings

指定应用程序支持的交互。

HoldingState

指定 Holding 事件的状态。

InputActivationState

指定窗口的所有可能的激活状态。

InputPointerSourceDeviceKinds

指定可与 InputPointerSource 一起使用的指针输入设备类型。

InputSystemCursorShape

指定 InputSystemCursor 对象支持的标准系统视觉指针类型。

NonClientRegionKind

指定非客户端区域的类型。

PointerDeviceType

指定 Windows 识别的基于指针的输入设备类型。

PointerUpdateKind

指定应用程序支持的指针更新的类型。

VirtualKeyStates

指定虚拟密钥的可能状态。

另请参阅