Share via


Microsoft.UI.Input 命名空間

提供 Windows 輸入系統的支援。 這包括:

  • 觸控、畫筆/手寫筆、滑鼠和鍵盤裝置輸入。
  • 手勢和操作偵測、辨識和處理。
  • 慣性設定、偵測和處理。
  • 輸入指標管理。

類別

CharacterReceivedEventArgs

包含 InputKeyboardSource.CharacterReceived 事件的事件數據。

ContextMenuKeyEventArgs

包含 InputKeyboardSource.ContextMenuKey 事件的事件數據。

CrossSlidingEventArgs

包含 CrossSliding 事件的事件數據。

DraggingEventArgs

包含 拖曳 事件的事件數據。

FocusChangedEventArgs

包含 InputFocusController.GotFocusInputFocusController.LostFocus 事件的事件數據。

FocusNavigationRequest

提供焦點流覽事件的詳細數據。

FocusNavigationRequestEventArgs

包含 InputFocusController.NavigateFocusRequestedInputFocusNavigationHost.AultFocusRequested 事件的事件數據。

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

提供 Dismissed 事件的數據。

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

包含 Tapped 事件的事件數據。

如需此 API 的詳細資訊,請參閱 UWP WinRT TappedEventArgs 主題。

結構

CrossSlideThresholds

包含 CrossSliding 互動的距離閾值。

ManipulationDelta

包含目前操作的累積轉換。

ManipulationVelocities

描述操作發生的速度。

PhysicalKeyStatus

指定實體鍵盤按鍵的可能狀態。

介面

IPointerPointTransform

提供一般化轉換函式。

列舉

CrossSlidingState

指定 CrossSliding 事件的可能狀態。

DraggingState

指定 Dragging 事件的可能狀態。

FocusNavigationReason

指定焦點流覽事件的可能原因。

FocusNavigationResult

指定焦點流覽事件的可能結果。

GestureSettings

指定應用程式支持的互動。

HoldingState

指定 Holding 事件的狀態。

InputActivationState

指定視窗的所有可能啟用狀態。

InputPointerSourceDeviceKinds

指定可與 InputPointerSource 搭配使用的指標輸入設備類型。

InputSystemCursorShape

指定 InputSystemCursor 物件所支援的標準系統視覺指標類型。

NonClientRegionKind

指定非客戶端區域的類型。

PointerDeviceType

指定 Windows 可辨識的指標型輸入設備類型。

PointerUpdateKind

指定應用程式支援的指標更新類型。

VirtualKeyStates

指定虛擬金鑰的可能狀態。

另請參閱