System.Windows.Input 命名空間

此命名空間中的大部分類型都支援 Windows Presentation Foundation (WPF) 輸入系統。 這包括滑鼠、鍵盤及手寫筆裝置的裝置抽象類別、通用輸入管理員類別、對使用命令和自訂命令的支援,以及各種公用程式類別。 不過, 某些類型 適用於 WPF 以外的類型。

類別

AccessKeyEventArgs

提供便捷鍵事件的資訊。

AccessKeyManager

維護所有便捷鍵的註冊,以及 Windows Forms、Win32 與 Windows Presentation Foundation (WPF) 之間 Interop 鍵盤命令的處理。

AccessKeyPressedEventArgs

提供 AccessKeyManager 路由事件的資料。

ApplicationCommands

提供一組標準的應用程式相關命令。

CanExecuteChangedEventManager

提供 WeakEventManager 實作,讓您能夠使用「弱式事件接聽程式」模式附加 CanExecuteChanged 事件的接聽程式。

CanExecuteRoutedEventArgs

CanExecutePreviewCanExecute 路由事件提供資料。

CommandBinding

繫結 RoutedCommand 至實作此命令的事件處理常式。

CommandBindingCollection

表示 CommandBinding 物件的集合。

CommandConverter

ICommand 物件來回轉換成其他型別。

CommandManager

提供與命令相關的公用程式方法,這些方法會註冊類別擁有人和命令的 CommandBindingInputBinding 物件、新增與移除命令事件處理常式,並提供查詢命令狀態的服務。

ComponentCommands

提供一組標準的元件相關命令,這些命令具有預先定義的按鍵輸入動作和 Text 屬性。

Cursor

表示用來做為滑鼠指標的影像。

CursorConverter

Cursor 物件來回轉換成其他型別。

Cursors

定義一組預設游標。

ExecutedRoutedEventArgs

ExecutedPreviewExecuted 路由事件提供資料。

FocusManager

提供一組靜態方法、附加屬性和事件,以判斷並設定焦點範圍,並在範圍內設定可焦點化的項目。

InertiaExpansionBehavior

控制調整大小操作在慣性期間的減速。

InertiaRotationBehavior

控制旋轉操作在慣性期間的減速。

InertiaTranslationBehavior

控制平移操作在慣性期間的減速。

InputBinding

表示 InputGesture 和命令之間的繫結。 命令可能是 RoutedCommand

InputBindingCollection

代表 InputBinding 物件的已排序集合。

InputDevice

描述輸入裝置的抽象類。

InputEventArgs

提供輸入相關事件的資料。

InputGesture

描述輸入裝置筆勢的抽象類別。

InputGestureCollection

代表 InputGesture 物件的已排序集合。

InputLanguageChangedEventArgs

包含與 InputLanguageChanged 事件關聯的引數。

InputLanguageChangingEventArgs

包含與 InputLanguageChanging 事件關聯的引數。

InputLanguageEventArgs

提供事件引數的基底類別,處理輸入語言變更。

InputLanguageManager

提供在 Windows Presentation Foundation (WPF) 中管理輸入語言的功能。

InputManager

管理 Windows Presentation Foundation (WPF) 中的所有輸入的系統。

InputMethod

提供可管理 Text Services Framework 並與之互動的功能,Text Services Framework 可支援替代的文字輸入法,如語音輸入和手寫輸入。

InputMethodStateChangedEventArgs

包含與 StateChanged 事件關聯的引數。

InputScope

表示與輸入方法所提供之資料範圍相關的資訊。

InputScopeConverter

InputScope 來回轉換成其他型別。

InputScopeName

定義文字輸入模式的名稱。

InputScopeNameConverter

InputScopeName 的執行個體與其他資料型別來回轉換。

InputScopePhrase

表示建議的輸入文字模式。

KeyBinding

KeyGesture 繫結至 RoutedCommand (或其他 ICommand 實作)。

Keyboard

代表鍵盤裝置。

KeyboardDevice

表示鍵盤裝置的抽象類別。

KeyboardEventArgs

提供鍵盤相關事件的資料。

KeyboardFocusChangedEventArgs

提供 LostKeyboardFocusGotKeyboardFocus 路由事件的資料,以及相關附加事件和預覽事件。

KeyboardInputProviderAcquireFocusEventArgs

提供 KeyboardInputProviderAcquireFocus 事件的資料。

KeyboardNavigation

提供可焦點化物件之間的邏輯巡覽和方向式巡覽。

KeyConverter

Key 物件來回轉換成其他型別。

KeyEventArgs

提供 KeyUpKeyDown 路由事件的資料,以及相關附加事件和預覽事件。

KeyGesture

定義可以用來叫用 (Invoke) 命令的鍵盤組合。

KeyGestureConverter

KeyGesture 物件來回轉換成其他型別。

KeyGestureValueSerializer

String 執行個體轉換為 KeyGesture 執行個體,以及反向操作。

KeyInterop

提供在 Win32 虛擬按鍵和 Key 列舉之間進行轉換的靜態方法。

KeyValueSerializer

String 執行個體轉換為 Key 執行個體,以及反向操作。

Manipulation

包含用於取得和更新操作相關資訊的方法。

ManipulationBoundaryFeedbackEventArgs

提供 ManipulationBoundaryFeedback 事件的資料。

ManipulationCompletedEventArgs

提供 ManipulationCompleted 事件的資料。

ManipulationDelta

包含操作事件發生時累積的轉換資料。

ManipulationDeltaEventArgs

提供 ManipulationDelta 事件的資料。

ManipulationInertiaStartingEventArgs

提供 ManipulationInertiaStarting 事件的資料。

ManipulationPivot

指定如何利用使用者輸入的一個點執行旋轉。

ManipulationStartedEventArgs

提供 ManipulationStarted 事件的資料。

ManipulationStartingEventArgs

提供 ManipulationStarting 事件的資料。

ManipulationVelocities

描述操作發生的速度。

MediaCommands

提供一組標準的媒體相關命令。

ModifierKeysConverter

ModifierKeys 物件來回轉換成其他型別。

ModifierKeysValueSerializer

String 執行個體轉換為 ModifierKeys 執行個體,以及反向操作。

Mouse

表示特定執行緒的滑鼠裝置。

MouseActionConverter

MouseAction 物件來回轉換成其他型別。

MouseActionValueSerializer

String 執行個體轉換為 MouseAction 執行個體,以及反向操作。

MouseBinding

MouseGesture 繫結至 RoutedCommand (或其他 ICommand 實作)。

MouseButtonEventArgs

提供滑鼠按鍵相關事件的資料。

MouseDevice

表示滑鼠裝置。

MouseEventArgs

提供滑鼠相關路由事件的資料,這些事件並不特別涉及滑鼠按鈕或滑鼠滾輪,例如 MouseMove

MouseGesture

定義可以用來叫用命令的滑鼠輸入筆勢。

MouseGestureConverter

MouseGesture 物件來回轉換成其他型別。

MouseGestureValueSerializer

String 執行個體轉換為 ModifierKeys 執行個體,以及反向操作。

MouseWheelEventArgs

提供各種事件的資料,報告滑鼠裝置之滑鼠滾輪差異值的變更。

NavigationCommands

提供一組標準的巡覽相關命令。

NotifyInputEventArgs

提供由 InputManager.處理的未經處理輸入資料。

PreProcessInputEventArgs

提供前置處理輸入事件的資料。

ProcessInputEventArgs

提供後續處理輸入事件的資料。

QueryCursorEventArgs

提供 QueryCursor 事件的資料。

RoutedCommand

定義命令,這個命令實作 ICommand 和透過項目樹狀進行遞送。

RoutedUICommand

定義經由項目樹狀目錄傳送並包含文字屬性的 ICommand

StagingAreaInputItem

輸入管理員處理輸入事件時,封裝輸入事件。

Stylus

可用來存取 Tablet 畫筆的一般資訊。

StylusButton

表示手寫筆上的按鈕。

StylusButtonCollection

包含 StylusButton 物件的集合。

StylusButtonEventArgs

提供 StylusButtonDownStylusButtonUp 事件的資料。

StylusDevice

表示與 Tablet PC 配合使用的 Tablet 畫筆。

StylusDeviceCollection

包含 StylusDevice 物件,代表平板電腦的手寫筆裝置。

StylusDownEventArgs

提供 StylusDown 事件的資料。

StylusEventArgs

提供幾個與 Stylus 類別關聯之事件的資料。

StylusPointCollection

包含 StylusPoint 物件的集合。

StylusPointDescription

指定 StylusPoint 中的屬性。

StylusPointProperties

包含 WPF 支援之每個屬性的 StylusPointProperty

StylusPointProperty

表示 StylusPoint 中儲存的屬性。

StylusPointPropertyInfo

指定 StylusPoint 中屬性的條件約束 (Constraint)。

StylusSystemGestureEventArgs

提供 StylusSystemGesture 事件的資料。

Tablet

提供對靜態方法的存取,這些方法會傳回附加至系統的 Tablet 裝置。

TabletDevice

表示 Tablet PC 的數位板裝置。

TabletDeviceCollection

包含 TabletDevice 物件,這個物件表示 Tablet 裝置的數位板裝置。

TextComposition

表示文字輸入的相關撰寫,其中包含撰寫文字本身、任何相關的控制項或系統文字,以及撰寫的完成狀態。

TextCompositionEventArgs

包含與 TextComposition 變更關聯的引數。

TextCompositionManager

提供與輸入和文字撰寫相關之事件的管理功能。

Touch

提供應用程式層級的服務,這個服務會處理作業系統的多點觸控輸入,以及引發 FrameReported 事件。

TouchDevice

表示觸控螢幕上手指所產生的單一觸控輸入。

TouchEventArgs

提供觸控輸入事件的資料。

TouchFrameEventArgs

提供 FrameReported 事件的資料。

TouchPoint

表示多點觸控訊息來源的或單一觸控點。

TouchPointCollection

包含 TouchPoint 物件的集合。

TraversalRequest

表示將焦點移至另一個控制項的要求。

結構

StylusPoint

表示從數位板和手寫筆收集的單一資料點 (Data Point)。

介面

ICommand

定義命令。

ICommandSource

定義知道如何叫用命令的物件。

IInputLanguageSource

定義要做為輸入語言來源之物件的必要設施。

IManipulator

提供建立操作時所需的輸入位置。

列舉

CaptureMode

指定滑鼠捕捉 (Mouse Capture) 原則。

CursorType

指定內建的游標型別。

FocusNavigationDirection

指定使用者介面 (UI) 內在嘗試需要的焦點變更要求時的方向。 該方向是以定位順序或以配置的相對方向為基礎。

ImeConversionModeValues

描述輸入方法要執行的輸入轉換模式。

ImeSentenceModeValues

指定輸入方法所執行之句子轉換的模式。

InputMethodState

描述 InputMethod 的狀態。

InputMode

指定輸入模式的可能值。

InputScopeNameValue

指定輸入範圍值,這個值可修改替代輸入方法中輸入的轉譯方式。

InputType

指定所報告之輸入的可能類型。

Key

在鍵盤上,指定可能的按鍵值。

KeyboardNavigationMode

指定當發生邏輯和方向式巡覽時取得焦點之變更的可能值。

KeyStates

指定定義按鍵狀態的常數。

ManipulationModes

指定如何解譯操作事件。

ModifierKeys

指定一組輔助按鍵 (Modifier Key)。

MouseAction

指定用來定義滑鼠執行之動作的常數。

MouseButton

定義值,以指定滑鼠裝置上的按鍵。

MouseButtonState

指定滑鼠按鈕的可能狀態。

RestoreFocusMode

指定 Windows Presentation Foundation (WPF) 如何將焦點還原至視窗。

SpeechMode

指定語音輸入的解譯模式。

StylusButtonState

表示 StylusButton 的狀態。

StylusPointPropertyUnit

指定 StylusPoint 屬性的度量單位。

SystemGesture

定義可用的系統筆勢。

TabletDeviceType

定義 Tablet 裝置所使用的裝置型別值。

TabletHardwareCapabilities

定義值,這些值指定 Tablet 裝置 (包括桌面數位板和滑鼠) 的硬體能力。

TextCompositionAutoComplete

定義一組狀態,用於處理文字撰寫的自動完成。

TouchAction

描述特定觸控點的動作。

委派

AccessKeyPressedEventHandler

表示將處理 AccessKeyPressed 附加事件的方法。

CanExecuteRoutedEventHandler

表示處理 CanExecute 事件的方法。

ExecutedRoutedEventHandler

代表能處理 ExecutedPreviewExecuted 路由事件,以及相關附加事件的方法。

InputEventHandler

代表要處理輸入相關路由事件的方法。

InputLanguageEventHandler

表示將處理 InputLanguageChangedInputLanguageChanging 事件的方法。

InputMethodStateChangedEventHandler

表示處理 StateChanged 事件的方法。

KeyboardEventHandler

代表要將處理鍵盤相關路由事件的方法。

KeyboardFocusChangedEventHandler

代表將處理 LostKeyboardFocusGotKeyboardFocus 路由事件,以及相關的附加事件和預覽事件的方法。

KeyboardInputProviderAcquireFocusEventHandler

表示處理 KeyboardInputProviderAcquireFocus 事件的方法。

KeyEventHandler

代表將處理 KeyUpKeyDown 路由事件,以及相關的附加事件和預覽事件的方法。

MouseButtonEventHandler

代表將處理滑鼠按鈕相關路由事件的方法,例如 MouseLeftButtonDown

MouseEventHandler

代表將處理滑鼠相關路由事件的方法,這些事件並不特別涉及滑鼠按鈕或滑鼠滾輪 (例如 MouseMove)。

MouseWheelEventHandler

代表將處理 MouseWheelMouseWheel 路由事件,以及相關的附加事件和預覽事件的方法。

NotifyInputEventHandler

表示將處理 PreNotifyInputPostNotifyInput 事件的方法。

PreProcessInputEventHandler

表示處理 PreProcessInput 事件的方法。

ProcessInputEventHandler

表示處理 PostProcessInput 事件的方法。

QueryCursorEventHandler

代表方法,這個方法將處理 QueryCursorQueryCursor 事件,以及 QueryCursor 附加事件。

StylusButtonEventHandler

表示處理 StylusButtonDownStylusButtonUp 事件或 UIElement 事件的方法。

StylusDownEventHandler

表示方法,這個方法可處理 StylusDown 事件和數種相關事件,包括對應的 Preview 事件。 同時也會將事件重新公開在基底類別中。

StylusEventHandler

表示方法,這個方法處理與實作 IInputElement 介面之類別關聯的手寫筆事件。

StylusSystemGestureEventHandler

代表處理 UIElementStylusSystemGesture 事件的方法。

TextCompositionEventHandler

表示將處理與 TextCompositionTextCompositionManager 類別相關之路由事件的方法,例如 TextInput

TouchFrameEventHandler

代表將處理 FrameReportedTouch 事件的方法。