System.Windows.Input Namespace

提供支援 Windows Presentation Foundation (WPF) 輸入系統的型別。 Provides types to support the Windows Presentation Foundation (WPF) input system. 這包括滑鼠、鍵盤及手寫筆裝置的裝置抽象類別、通用輸入管理員類別、對使用命令和自訂命令的支援,以及各種公用程式類別。 This includes device abstraction classes for mouse, keyboard, and stylus devices, a common input manager class, support for commanding and custom commands, and various utility classes.

類別

AccessKeyEventArgs

提供便捷鍵事件的資訊。Provides information for access keys events.

AccessKeyManager

維護所有便捷鍵的註冊,以及 Windows Forms、Win32 與 Windows Presentation Foundation (WPF) 之間 Interop 鍵盤命令的處理。Maintains the registration of all access keys and the handling of interop keyboard commands between Windows Forms, Win32, and Windows Presentation Foundation (WPF).

AccessKeyPressedEventArgs

提供 AccessKeyManager 路由事件的資料。Provides data for the AccessKeyManager routed event.

ApplicationCommands

提供一組標準的應用程式相關命令。Provides a standard set of application related commands.

CanExecuteChangedEventManager

提供 WeakEventManager 實作,讓您能夠使用「弱式事件接聽程式」模式附加 CanExecuteChanged 事件的接聽程式。Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CanExecuteChanged event.

CanExecuteRoutedEventArgs

CanExecutePreviewCanExecute 路由事件提供資料。Provides data for the CanExecute and PreviewCanExecute routed events.

CommandBinding

繫結 RoutedCommand 至實作此命令的事件處理常式。Binds a RoutedCommand to the event handlers that implement the command.

CommandBindingCollection

表示 CommandBinding 物件的集合。Represents a collection of CommandBinding objects.

CommandConverter

ICommand 物件來回轉換成其他型別。Converts an ICommand object to and from other types.

CommandManager

提供與命令相關的公用程式方法,這些方法會註冊類別擁有人和命令的 CommandBindingInputBinding 物件、新增與移除命令事件處理常式,並提供查詢命令狀態的服務。Provides command related utility methods that register CommandBinding and InputBinding objects for class owners and commands, add and remove command event handlers, and provides services for querying the status of a command.

ComponentCommands

提供標準的元件相關命令集,其含有預先定義的按鍵輸入動作和 Text 屬性。Provides a standard set of component-related commands, which have predefined key input gestures and Text properties.

Cursor

表示用來做為滑鼠指標的影像。Represents the image used for the mouse pointer.

CursorConverter

Cursor 物件來回轉換成其他型別。Converts a Cursor object to and from other types.

Cursors

定義一組預設游標。Defines a set of default cursors.

ExecutedRoutedEventArgs

ExecutedPreviewExecuted 路由事件提供資料。Provides data for the Executed and PreviewExecuted routed events.

FocusManager

提供一組靜態方法、附加屬性和事件,以判斷並設定焦點範圍,並在範圍內設定可焦點化的項目。Provides a set of static methods, attached properties, and events for determining and setting focus scopes and for setting the focused element within the scope.

InertiaExpansionBehavior

控制調整大小操作在慣性期間的減速。Controls the deceleration of a resizing manipulation during inertia.

InertiaRotationBehavior

控制旋轉操作在慣性期間的減速。Controls the deceleration of a rotation manipulation during inertia.

InertiaTranslationBehavior

控制平移操作在慣性期間的減速。Controls deceleration on a translation manipulation during inertia.

InputBinding

表示 InputGesture 和命令之間的繫結。Represents a binding between an InputGesture and a command. 命令可能是 RoutedCommandThe command is potentially a RoutedCommand.

InputBindingCollection

代表 InputBinding 物件的已排序集合。Represents an ordered collection of InputBinding objects.

InputDevice

描述輸入裝置的抽象類別 (Abstract Class)。Abstract class that describes an input devices.

InputEventArgs

提供輸入相關事件的資料。Provides data for input related events.

InputGesture

描述輸入裝置筆勢的抽象類別。Abstract class that describes input device gestures.

InputGestureCollection

代表 InputGesture 物件的已排序集合。Represents an ordered collection of InputGesture objects.

InputLanguageChangedEventArgs

包含與 InputLanguageChanged 事件關聯的引數。Contains arguments associated with the InputLanguageChanged event.

InputLanguageChangingEventArgs

包含與 InputLanguageChanging 事件關聯的引數。Contains arguments associated with the InputLanguageChanging event.

InputLanguageEventArgs

提供事件引數的基底類別,處理輸入語言變更。Provides a base class for arguments for events dealing with a change in input language.

InputLanguageManager

提供在 Windows Presentation Foundation (WPF) 中管理輸入語言的功能。Provides facilities for managing input languages in Windows Presentation Foundation (WPF).

InputManager

管理 Windows Presentation Foundation (WPF) 中的所有輸入的系統。Manages all the input systems in Windows Presentation Foundation (WPF).

InputMethod

提供可管理 Text Services Framework 並與之互動的功能,Text Services Framework 可支援替代的文字輸入法,如語音輸入和手寫輸入。Provides facilities for managing and interacting with the Text Services Framework, which provides support for alternate text input methods such as speech and handwriting.

InputMethodStateChangedEventArgs

包含與 StateChanged 事件關聯的引數。Contains arguments associated with the StateChanged event.

InputScope

表示與輸入方法所提供之資料範圍相關的資訊。Represents information related to the scope of data provided by an input method.

InputScopeConverter

InputScope 來回轉換成其他型別。Converts a InputScope to and from other types.

InputScopeName

定義文字輸入模式的名稱。Defines a name for text input patterns.

InputScopeNameConverter

InputScopeName 的執行個體與其他資料型別來回轉換。Converts instances of InputScopeName to and from other data types.

InputScopePhrase

表示建議的輸入文字模式。Represents a suggested input text pattern.

KeyBinding

KeyGesture 繫結至 RoutedCommand (或其他 ICommand 實作)。Binds a KeyGesture to a RoutedCommand (or another ICommand implementation).

Keyboard

表示鍵盤裝置。Represents the keyboard device.

KeyboardDevice

表示鍵盤裝置的抽象類別。Abstract class that represents a keyboard device.

KeyboardEventArgs

提供鍵盤相關事件的資料。Provides data for keyboard-related events.

KeyboardFocusChangedEventArgs

提供 LostKeyboardFocusGotKeyboardFocus 路由事件的資料,以及相關附加事件和預覽事件。Provides data for LostKeyboardFocus and GotKeyboardFocus routed events, as well as related attached and Preview events.

KeyboardInputProviderAcquireFocusEventArgs

提供 KeyboardInputProviderAcquireFocus 事件的資料。Provides data for the KeyboardInputProviderAcquireFocus event.

KeyboardNavigation

提供可焦點化物件之間的邏輯巡覽和方向式巡覽。Provides logical and directional navigation between focusable objects.

KeyConverter

Key 物件來回轉換成其他型別。Converts a Key object to and from other types.

KeyEventArgs

提供 KeyUpKeyDown 路由事件的資料,以及相關附加事件和預覽事件。Provides data for the KeyUp and KeyDown routed events, as well as related attached and Preview events.

KeyGesture

定義可以用來叫用 (Invoke) 命令的鍵盤組合。Defines a keyboard combination that can be used to invoke a command.

KeyGestureConverter

KeyGesture 物件來回轉換成其他型別。Converts a KeyGesture object to and from other types.

KeyGestureValueSerializer

String 執行個體轉換為 KeyGesture 執行個體,以及反向操作。Converts instances of String to and from instances of KeyGesture.

KeyInterop

提供在 Win32 虛擬按鍵和 Key 列舉之間進行轉換的靜態方法。Provides static methods to convert between Win32 Virtual-Keys and the WPF Key enumeration.

KeyValueSerializer

String 執行個體轉換為 Key 執行個體,以及反向操作。Converts instances of String to and from instances of Key.

Manipulation

包含用於取得和更新操作相關資訊的方法。Contains methods to get and update information about a manipulation.

ManipulationBoundaryFeedbackEventArgs

提供 ManipulationBoundaryFeedback 事件的資料。Provides data for the ManipulationBoundaryFeedback event.

ManipulationCompletedEventArgs

提供 ManipulationCompleted 事件的資料。Provides data for the ManipulationCompleted event.

ManipulationDelta

包含操作事件發生時累積的轉換資料。Contains transformation data that is accumulated when manipulation events occur.

ManipulationDeltaEventArgs

提供 ManipulationDelta 事件的資料。Provides data for the ManipulationDelta event.

ManipulationInertiaStartingEventArgs

提供 ManipulationInertiaStarting 事件的資料。Provides data for the ManipulationInertiaStarting event.

ManipulationPivot

指定如何利用使用者輸入的一個點執行旋轉。Specifies how a rotation occurs with one point of user input.

ManipulationStartedEventArgs

提供 ManipulationStarted 事件的資料。Provides data for the ManipulationStarted event.

ManipulationStartingEventArgs

提供 ManipulationStarting 事件的資料。Provides data for the ManipulationStarting, event.

ManipulationVelocities

描述操作發生的速度。Describes the speed at which manipulations occurs.

MediaCommands

提供一組標準的媒體相關命令。Provides a standard set of media related commands.

ModifierKeysConverter

ModifierKeys 物件來回轉換成其他型別。Converts a ModifierKeys object to and from other types.

ModifierKeysValueSerializer

String 執行個體轉換為 ModifierKeys 執行個體,以及反向操作。Converts instances of String to and from instances of ModifierKeys.

Mouse

表示特定執行緒的滑鼠裝置。Represents the mouse device to a specific thread.

MouseActionConverter

MouseAction 物件來回轉換成其他型別。Converts a MouseAction object to and from other types.

MouseActionValueSerializer

String 執行個體轉換為 MouseAction 執行個體,以及反向操作。Converts instances of String to and from instances of MouseAction.

MouseBinding

MouseGesture 繫結至 RoutedCommand (或其他 ICommand 實作)。Binds a MouseGesture to a RoutedCommand (or another ICommand implementation).

MouseButtonEventArgs

提供滑鼠按鍵相關事件的資料。Provides data for mouse button related events.

MouseDevice

表示滑鼠裝置。Represents a mouse device.

MouseEventArgs

提供滑鼠相關路由事件的資料,這些事件並不特別涉及滑鼠按鈕或滑鼠滾輪,例如 MouseMoveProvides data for mouse related routed events that do not specifically involve mouse buttons or the mouse wheel, for example MouseMove.

MouseGesture

定義可以用來叫用命令的滑鼠輸入筆勢。Defines a mouse input gesture that can be used to invoke a command.

MouseGestureConverter

MouseGesture 物件來回轉換成其他型別。Converts a MouseGesture object to and from other types.

MouseGestureValueSerializer

String 執行個體轉換為 ModifierKeys 執行個體,以及反向操作。Converts instances of String to and from instances of ModifierKeys.

MouseWheelEventArgs

提供各種事件的資料,報告滑鼠裝置之滑鼠滾輪差異值的變更。Provides data for various events that report changes to the mouse wheel delta value of a mouse device.

NavigationCommands

提供一組標準的巡覽相關命令。Provides a standard set of navigation-related commands.

NotifyInputEventArgs

提供由 InputManager.處理的未經處理輸入資料。Provides data for raw input being processed by the InputManager.

PreProcessInputEventArgs

提供前置處理輸入事件的資料。Provides data for preprocess input events.

ProcessInputEventArgs

提供後續處理輸入事件的資料。Provides data for postprocess input events.

QueryCursorEventArgs

提供 QueryCursor 事件的資料。Provides data for the QueryCursor event.

RoutedCommand

定義命令,這個命令會實作 ICommand 並透過項目樹狀結構傳送。Defines a command that implements ICommand and is routed through the element tree.

RoutedUICommand

定義經由項目樹狀目錄傳送並包含文字屬性的 ICommandDefines an ICommand that is routed through the element tree and contains a text property.

StagingAreaInputItem

輸入管理員處理輸入事件時,封裝輸入事件。Encapsulates an input event when it is being processed by the input manager.

Stylus

可用來存取 Tablet 畫筆的一般資訊。Provides access to general information about a tablet pen.

StylusButton

表示手寫筆上的按鈕。Represents a button on a stylus.

StylusButtonCollection

包含 StylusButton 物件的集合。Contains a collection of StylusButton objects.

StylusButtonEventArgs

提供 StylusButtonDownStylusButtonUp 事件的資料。Provides data for the StylusButtonDown and StylusButtonUp events.

StylusDevice

表示與 Tablet PC 配合使用的 Tablet 畫筆。Represents a tablet pen used with a Tablet PC.

StylusDeviceCollection

包含表示 Tablet PC 手寫筆裝置的 StylusDevice 物件。Contains the StylusDevice objects that represent a Tablet PC's stylus devices.

StylusDownEventArgs

提供 StylusDown 事件的資料。Provides data for the StylusDown event.

StylusEventArgs

提供幾個與 Stylus 類別關聯之事件的資料。Provides data for several of the events that are associated with the Stylus class.

StylusPointCollection

包含 StylusPoint 物件的集合。Contains a collection of StylusPoint objects.

StylusPointDescription

指定 StylusPoint 中的屬性。Specifies the properties that are in a StylusPoint.

StylusPointProperties

包含 WPF 支援之每個屬性的 StylusPointPropertyContains a StylusPointProperty for each property that the WPF supports.

StylusPointProperty

表示 StylusPoint 中儲存的屬性。Represents a property stored in a StylusPoint.

StylusPointPropertyInfo

指定 StylusPoint 中屬性的條件約束 (Constraint)。Specifies the constraints of a property in a StylusPoint.

StylusSystemGestureEventArgs

提供 StylusSystemGesture 事件的資料。Provides data for the StylusSystemGesture event.

Tablet

提供對靜態方法的存取,這些方法會傳回附加至系統的 Tablet 裝置。Provides access to static methods that return the tablet devices attached to the system.

TabletDevice

表示 Tablet PC 的數位板裝置。Represents the digitizer device of a Tablet PC.

TabletDeviceCollection

包含 TabletDevice 物件,這個物件表示 Tablet 裝置的數位板裝置。Contains the TabletDevice objects that represent the digitizer devices of a tablet device.

TextComposition

表示文字輸入的相關撰寫,其中包含撰寫文字本身、任何相關的控制項或系統文字,以及撰寫的完成狀態。Represents a composition related to text input which includes the composition text itself, any related control or system text, and a state of completion for the composition.

TextCompositionEventArgs

包含與 TextComposition 變更關聯的引數。Contains arguments associated with changes to a TextComposition.

TextCompositionManager

提供與輸入和文字撰寫相關之事件的管理功能。Provides facilities for managing events related to input and text compositions.

Touch

提供應用程式層級的服務,這個服務會處理作業系統的多點觸控輸入,以及引發 FrameReported 事件。Provides an application-level service that processes multitouch input from the operating system and raises the FrameReported event.

TouchDevice

表示手指在觸控螢幕上產生的單一觸控輸入。Represents a single touch input produced by a finger on a touchscreen.

TouchEventArgs

提供觸控輸入事件的資料。Provides data for touch input events.

TouchFrameEventArgs

提供 FrameReported 事件的資料。Provides data for the FrameReported event.

TouchPoint

表示多點觸控訊息來源的或單一觸控點。Represents a single touch point from a multitouch message source.

TouchPointCollection

包含 TouchPoint 物件的集合。Contains a collection of TouchPoint objects.

TraversalRequest

表示將焦點移至另一個控制項的要求。Represents a request to move focus to another control.

結構

StylusPoint

表示從數位板和手寫筆收集的單一資料點 (Data Point)。Represents a single data point collected from the digitizer and stylus.

介面

ICommand

定義命令。Defines a command.

ICommandSource

定義知道如何叫用命令的物件。Defines an object that knows how to invoke a command.

IInputLanguageSource

定義要做為輸入語言來源之物件的必要設施。Defines necessary facilities for an object that intends to behave as an input language source.

IManipulator

提供建立操作時所需的輸入位置。Provides the position of input that is needed to create a manipulation.

列舉

CaptureMode

指定滑鼠捕捉 (Mouse Capture) 原則。Specifies the mouse capture policies.

CursorType

指定內建的游標型別。Specifies the built in cursor types.

FocusNavigationDirection

指定使用者介面 (UI) 內在嘗試需要的焦點變更要求時的方向。 該方向是以定位順序或以配置的相對方向為基礎。The direction is either based on tab order or by relative direction in layout.

ImeConversionModeValues

描述輸入方法要執行的輸入轉換模式。Describes a mode of input conversion to be performed by an input method.

ImeSentenceModeValues

指定輸入方法所執行之句子轉換的模式。Specifies the mode of sentence conversion performed by an input method.

InputMethodState

描述 InputMethod 的狀態。Describes the state of an InputMethod.

InputMode

指定輸入模式的可能值。Specifies the possible values for the input mode.

InputScopeNameValue

指定輸入範圍值,這個值可修改替代輸入方法中輸入的轉譯方式。Specifies the input scope name which modifies how input from alternative input methods is interpreted.

InputType

指定所報告之輸入的可能類型。Specifies the possible types of input being reported.

Key

在鍵盤上,指定可能的按鍵值。Specifies the possible key values on a keyboard.

KeyboardNavigationMode

指定當發生邏輯和方向式巡覽時取得焦點之變更的可能值。Specifies the possible values for changes in focus when logical and directional navigation occurs.

KeyStates

指定定義按鍵狀態的常數。Specifies constants that define the state of a key.

ManipulationModes

指定如何解譯操作事件。Specifies how manipulation events are interpreted.

ModifierKeys

指定一組輔助按鍵 (Modifier Key)。Specifies the set of modifier keys.

MouseAction

指定用來定義滑鼠執行之動作的常數。Specifies constants that define actions performed by the mouse.

MouseButton

定義值,以指定滑鼠裝置上的按鍵。Defines values that specify the buttons on a mouse device.

MouseButtonState

指定滑鼠按鈕的可能狀態。Specifies the possible states of a mouse button.

RestoreFocusMode

指定 Windows Presentation Foundation (WPF) 如何將焦點還原至視窗。Specifies how Windows Presentation Foundation (WPF) restores focus to the window.

SpeechMode

指定語音輸入的解譯模式。Specifies the mode of interpretation for speech input.

StylusButtonState

表示 StylusButton 的狀態。Represents the state of a StylusButton.

StylusPointPropertyUnit

指定 StylusPoint 屬性的度量單位。Specifies the unit of measurement for a StylusPoint property.

SystemGesture

定義可用的系統筆勢。Defines the available system gestures.

TabletDeviceType

定義 Tablet 裝置所使用的裝置型別值。Defines values for the type of devices the tablet device uses.

TabletHardwareCapabilities

定義值,這些值指定 Tablet 裝置 (包括桌面數位板和滑鼠) 的硬體能力。Defines values that specify the hardware capabilities of a tablet device, including desktop digitizers and mice.

TextCompositionAutoComplete

定義一組狀態,用於處理文字撰寫的自動完成。Defines a set of states for the handling of automatic completion of a text composition.

TouchAction

描述特定觸控點的動作。Describes the action of a specific touch point.

委派

AccessKeyPressedEventHandler

表示將處理 AccessKeyPressed 附加事件的方法。Represents the method that will handle the AccessKeyPressed attached event.

CanExecuteRoutedEventHandler

代表將處理 CanExecute 事件的方法。Represents the method that will handle the CanExecute event.

ExecutedRoutedEventHandler

代表能處理 ExecutedPreviewExecuted 路由事件,以及相關附加事件的方法。Represents the method that will handle the Executed and PreviewExecuted routed events, as well as related attached events.

InputEventHandler

代表要處理輸入相關路由事件的方法。Represents the method that handles input related routed events.

InputLanguageEventHandler

表示將處理 InputLanguageChangedInputLanguageChanging 事件的方法。Represents the method that will handle the InputLanguageChanged and InputLanguageChanging events.

InputMethodStateChangedEventHandler

表示處理 StateChanged 事件的方法。Represents the method that will handle the StateChanged event.

KeyboardEventHandler

代表要將處理鍵盤相關路由事件的方法。Represents the method that will handle keyboard-related routed events.

KeyboardFocusChangedEventHandler

代表將處理 LostKeyboardFocusGotKeyboardFocus 路由事件,以及相關的附加事件和預覽事件的方法。Represents the method that will handle the LostKeyboardFocus and GotKeyboardFocus routed events, as well as related attached and Preview events.

KeyboardInputProviderAcquireFocusEventHandler

代表將處理 KeyboardInputProviderAcquireFocus 事件的方法Represents the method that will handle the KeyboardInputProviderAcquireFocus event

KeyEventHandler

代表將處理 KeyUpKeyDown 路由事件,以及相關的附加事件和預覽事件的方法。Represents the method that will handle the KeyUp and KeyDown routed events, as well as related attached and Preview events.

MouseButtonEventHandler

代表將處理滑鼠按鈕相關路由事件的方法,例如 MouseLeftButtonDownRepresents the method that will handle mouse button related routed events, for example MouseLeftButtonDown.

MouseEventHandler

代表將處理滑鼠相關路由事件的方法,這些事件並不特別涉及滑鼠按鈕或滑鼠滾輪 (例如 MouseMove)。Represents the method that will handle mouse related routed events that do not specifically involve mouse buttons or the mouse wheel; for example, MouseMove.

MouseWheelEventHandler

代表將處理 MouseWheelMouseWheel 路由事件,以及相關的附加事件和預覽事件的方法。Represents the method that will handle the MouseWheel and MouseWheel routed events, as well as related attached and Preview events.

NotifyInputEventHandler

表示將處理 PreNotifyInputPostNotifyInput 事件的方法。Represents the method that will handle PreNotifyInput and PostNotifyInput events.

PreProcessInputEventHandler

代表將處理 PreProcessInput 事件的方法。Represents the method that will handle the PreProcessInput event.

ProcessInputEventHandler

代表將處理 PostProcessInput 事件的方法。Represents the method that will handle the PostProcessInput event.

QueryCursorEventHandler

表示將處理 QueryCursorQueryCursor 事件以及 QueryCursor 附加事件的方法。Represents the method that will handle the QueryCursor and QueryCursor events, as well as the QueryCursor attached event.

StylusButtonEventHandler

表示處理 StylusButtonDownStylusButtonUp 事件或 UIElement 事件的方法。Represents the method that handles either the StylusButtonDown event or the StylusButtonUp event of a UIElement.

StylusDownEventHandler

表示方法,這個方法可處理 StylusDown 事件和數種相關事件,包括對應的 Preview 事件。Represents the method that handles the StylusDown event, as well as several variations, including the corresponding Preview event. 同時也會將事件重新公開在基底類別中。Also re-exposes the event in the base element classes.

StylusEventHandler

表示方法,這個方法處理與實作 IInputElement 介面之類別關聯的手寫筆事件。Represents the method that handles a stylus event for a class that the implements the IInputElement interface.

StylusSystemGestureEventHandler

代表處理 UIElementStylusSystemGesture 事件的方法。Represents the method that handles the StylusSystemGesture event of a UIElement.

TextCompositionEventHandler

表示將處理與 TextCompositionTextCompositionManager 類別相關之路由事件的方法,例如 TextInputRepresents the method that will handle the routed events related to the TextComposition and TextCompositionManager classes, for example TextInput.

TouchFrameEventHandler

代表將處理 FrameReportedTouch 事件的方法。Represents the method that will handle the FrameReported event of a Touch.