IFrameworkInputElement 介面

定義

宣告架構項目的名稱範圍合約。Declares a namescope contract for framework elements.

public interface class IFrameworkInputElement : System::Windows::IInputElement
public interface IFrameworkInputElement : System.Windows.IInputElement
type IFrameworkInputElement = interface
    interface IInputElement
Public Interface IFrameworkInputElement
Implements IInputElement
衍生
實作

備註

此介面並非用於執行。This interface is not intended for implementation. 其目的是要支援 WPF 架構層級的基礎結構。Its purpose is to support the WPF framework-level infrastructure. 若要執行名稱範圍, INameScope請參閱。To implement a namescope, see INameScope.

屬性

Focusable

取得或設定值,指出焦點可否設在這個項目。Gets or sets a value that indicates whether focus can be set to this element.

(繼承來源 IInputElement)
IsEnabled

取得值,這個值表示這個項目是否已在 使用者介面 (UI)user interface (UI) 中啟用。Gets a value that indicates whether this element is enabled in the 使用者介面 (UI)user interface (UI).

(繼承來源 IInputElement)
IsKeyboardFocused

取得值,指出這個項目是否具有鍵盤焦點。Gets a value that indicates whether this element has keyboard focus.

(繼承來源 IInputElement)
IsKeyboardFocusWithin

取得值,指出鍵盤焦點是否在項目範圍內的任何位置,包括鍵盤焦點是否在任何視覺子項目的範圍內。Gets a value that indicates whether keyboard focus is anywhere inside the element bounds, including if keyboard focus is inside the bounds of any visual child elements.

(繼承來源 IInputElement)
IsMouseCaptured

取得值,指出是否將滑鼠擷取至這個項目。Gets a value that indicates whether the mouse is captured to this element.

(繼承來源 IInputElement)
IsMouseDirectlyOver

取得值,該值表示滑鼠指標在最嚴格的點擊測試意義上,是否在這個項目上方。Gets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense.

(繼承來源 IInputElement)
IsMouseOver

取得值,這個值表示滑鼠指標是否位在這個項目上方 (包括其範圍內的視覺子項目)。Gets a value that indicates whether the mouse pointer is located over this element (including visual children elements that are inside its bounds).

(繼承來源 IInputElement)
IsStylusCaptured

取得值,指出是否將手寫筆擷取至這個項目。Gets a value that indicates whether the stylus is captured to this element.

(繼承來源 IInputElement)
IsStylusDirectlyOver

取得值,該值表示手寫筆在最嚴格的點擊測試意義上,是否在這個項目上方。Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense.

(繼承來源 IInputElement)
IsStylusOver

取得值,這個值表示手寫筆是否位在這個項目上方 (或其範圍內的視覺子項目上方)。Gets a value that indicates whether the stylus is located over this element (or over visual child elements that are inside its bounds).

(繼承來源 IInputElement)
Name

取得或設定項目的名稱。Gets or sets the name of an element.

方法

AddHandler(RoutedEvent, Delegate)

將特定路由事件的路由事件處理常式加入項目中。Adds a routed event handler for a specific routed event to an element.

(繼承來源 IInputElement)
CaptureMouse()

嘗試強制將滑鼠的捕捉給這個項目。Attempts to force capture of the mouse to this element.

(繼承來源 IInputElement)
CaptureStylus()

嘗試強制將手寫筆的捕捉給這個項目。Attempts to force capture of the stylus to this element.

(繼承來源 IInputElement)
Focus()

嘗試將鍵盤的焦點放在這個項目上。Attempts to focus the keyboard on this element.

(繼承來源 IInputElement)
RaiseEvent(RoutedEventArgs)

引發由所提供之 RoutedEvent 內的 RoutedEventArgs 屬性所指定的路由事件。Raises the routed event that is specified by the RoutedEvent property within the provided RoutedEventArgs.

(繼承來源 IInputElement)
ReleaseMouseCapture()

如果這個項目保有滑鼠捕捉,則釋放捕捉。Releases the mouse capture, if this element holds the capture.

(繼承來源 IInputElement)
ReleaseStylusCapture()

如果這個項目保有手寫筆捕捉,則釋放捕捉。Releases the stylus capture, if this element holds the capture.

(繼承來源 IInputElement)
RemoveHandler(RoutedEvent, Delegate)

移除這個項目中所指定路由事件處理常式的所有執行個體。Removes all instances of the specified routed event handler from this element.

(繼承來源 IInputElement)

事件

GotKeyboardFocus

鍵盤以此元素為焦點時發生。Occurs when the keyboard is focused on this element.

(繼承來源 IInputElement)
GotMouseCapture

元素擷取滑鼠時發生。Occurs when the element captures the mouse.

(繼承來源 IInputElement)
GotStylusCapture

元素擷取手寫筆時發生。Occurs when the element captures the stylus.

(繼承來源 IInputElement)
KeyDown

鍵盤以此元素為焦點且按下按鍵時發生。Occurs when a key is pressed while the keyboard is focused on this element.

(繼承來源 IInputElement)
KeyUp

鍵盤以此元素為焦點且放開按鍵時發生。Occurs when a key is released while the keyboard is focused on this element.

(繼承來源 IInputElement)
LostKeyboardFocus

鍵盤不再以此元素為焦點時發生。Occurs when the keyboard is no longer focused on this element.

(繼承來源 IInputElement)
LostMouseCapture

此元素失去滑鼠擷取時發生。Occurs when this element loses mouse capture.

(繼承來源 IInputElement)
LostStylusCapture

此元素失去手寫筆擷取時發生。Occurs when this element loses stylus capture.

(繼承來源 IInputElement)
MouseEnter

滑鼠指標進入此元素的邊界時發生。Occurs when the mouse pointer enters the bounds of this element.

(繼承來源 IInputElement)
MouseLeave

滑鼠指標離開此元素的邊界時發生。Occurs when the mouse pointer leaves the bounds of this element.

(繼承來源 IInputElement)
MouseLeftButtonDown

滑鼠指標在元素上方且按下滑鼠左按鈕時發生。Occurs when the left mouse button is pressed while the mouse pointer is over the element.

(繼承來源 IInputElement)
MouseLeftButtonUp

滑鼠指標在元素上方且放開滑鼠左按鈕時發生。Occurs when the left mouse button is released while the mouse pointer is over the element.

(繼承來源 IInputElement)
MouseMove

滑鼠指標在元素上方且移動滑鼠指標時發生。Occurs when the mouse pointer moves while the mouse pointer is over the element.

(繼承來源 IInputElement)
MouseRightButtonDown

滑鼠指標在元素上方且按下滑鼠右按鈕時發生。Occurs when the right mouse button is pressed while the mouse pointer is over the element.

(繼承來源 IInputElement)
MouseRightButtonUp

滑鼠指標在元素上方且放開滑鼠右按鈕時發生。Occurs when the right mouse button is released while the mouse pointer is over the element.

(繼承來源 IInputElement)
MouseWheel

當滑鼠指標位於這個項目上方而移動滑鼠滾輪時發生。Occurs when the mouse wheel moves while the mouse pointer is over this element.

(繼承來源 IInputElement)
PreviewGotKeyboardFocus

鍵盤以此元素為焦點時發生。Occurs when the keyboard is focused on this element.

(繼承來源 IInputElement)
PreviewKeyDown

鍵盤以此元素為焦點且按下按鍵時發生。Occurs when a key is pressed while the keyboard is focused on this element.

(繼承來源 IInputElement)
PreviewKeyUp

鍵盤以此元素為焦點且放開按鍵時發生。Occurs when a key is released while the keyboard is focused on this element.

(繼承來源 IInputElement)
PreviewLostKeyboardFocus

鍵盤不再以此元素為焦點時發生。Occurs when the keyboard is no longer focused on this element.

(繼承來源 IInputElement)
PreviewMouseLeftButtonDown

滑鼠指標在元素上方且按下滑鼠左按鈕時發生。Occurs when the left mouse button is pressed while the mouse pointer is over the element.

(繼承來源 IInputElement)
PreviewMouseLeftButtonUp

滑鼠指標在元素上方且放開滑鼠左按鈕時發生。Occurs when the left mouse button is released while the mouse pointer is over the element.

(繼承來源 IInputElement)
PreviewMouseMove

滑鼠指標在元素上方且移動滑鼠指標時發生。Occurs when the mouse pointer moves while the mouse pointer is over the element.

(繼承來源 IInputElement)
PreviewMouseRightButtonDown

滑鼠指標在元素上方且按下滑鼠右按鈕時發生。Occurs when the right mouse button is pressed while the mouse pointer is over the element.

(繼承來源 IInputElement)
PreviewMouseRightButtonUp

滑鼠指標在元素上方且放開滑鼠右按鈕時發生。Occurs when the right mouse button is released while the mouse pointer is over the element.

(繼承來源 IInputElement)
PreviewMouseWheel

當滑鼠指標位於這個項目上方而移動滑鼠滾輪時發生。Occurs when the mouse wheel moves while the mouse pointer is over this element.

(繼承來源 IInputElement)
PreviewStylusButtonDown

當手寫筆位於這個項目上方而使用者按下手寫筆按鈕時發生。Occurs when the stylus button is pressed down while the stylus is over this element.

(繼承來源 IInputElement)
PreviewStylusButtonUp

當手寫筆位於這個項目上方而使用者放開手寫筆按鈕時發生。Occurs when the stylus button is released while the stylus is over this element.

(繼承來源 IInputElement)
PreviewStylusDown

手寫筆在此項目上方且碰觸數位板時發生。Occurs when the stylus touches the digitizer while over this element.

(繼承來源 IInputElement)
PreviewStylusInAirMove

手寫筆在項目上方移動,但沒有碰觸數位板時發生。Occurs when the stylus moves over an element, but without touching the digitizer.

(繼承來源 IInputElement)
PreviewStylusInRange

手寫筆靠近數位板而被偵測到時發生。Occurs when the stylus is close enough to the digitizer to be detected.

(繼承來源 IInputElement)
PreviewStylusMove

手寫筆在元素上方且移動手寫筆時發生。Occurs when the stylus moves while the stylus is over the element.

(繼承來源 IInputElement)
PreviewStylusOutOfRange

手寫筆遠離數位板而無法被偵測到時發生。Occurs when the stylus is too far from the digitizer to be detected.

(繼承來源 IInputElement)
PreviewStylusSystemGesture

在偵測到其中一個手寫筆筆勢時發生,例如 TapDragOccurs when one of several stylus gestures are detected, for example, Tap or Drag.

(繼承來源 IInputElement)
PreviewStylusUp

手寫筆在這個項目上方且離開數位板時發生。Occurs when the stylus is raised off the digitizer while over this element.

(繼承來源 IInputElement)
PreviewTextInput

此元素以一種與裝置無關的方式取得文字時發生。Occurs when this element gets text in a device-independent manner.

(繼承來源 IInputElement)
StylusButtonDown

當手寫筆位於這個項目上方而使用者按下手寫筆按鈕時發生。Occurs when the stylus button is pressed while the stylus is over this element.

(繼承來源 IInputElement)
StylusButtonUp

當手寫筆位於這個項目上方而使用者放開手寫筆按鈕時發生。Occurs when the stylus button is released while the stylus is over this element.

(繼承來源 IInputElement)
StylusDown

手寫筆在此項目上方且碰觸數位板時發生。Occurs when the stylus touches the digitizer while over this element.

(繼承來源 IInputElement)
StylusEnter

手寫筆游標進入元素的邊界時發生。Occurs when the stylus cursor enters the bounds of the element.

(繼承來源 IInputElement)
StylusInAirMove

手寫筆在項目上方移動,但沒有碰觸數位板時發生。Occurs when the stylus moves over an element, but without touching the digitizer.

(繼承來源 IInputElement)
StylusInRange

手寫筆靠近數位板而被偵測到時發生。Occurs when the stylus is close enough to the digitizer to be detected.

(繼承來源 IInputElement)
StylusLeave

手寫筆游標離開元素的邊界時發生。Occurs when the stylus cursor leaves the bounds of the element.

(繼承來源 IInputElement)
StylusMove

手寫筆游標在元素上方移動時發生。Occurs when the stylus cursor moves over the element.

(繼承來源 IInputElement)
StylusOutOfRange

手寫筆遠離數位板而無法被偵測到時發生。Occurs when the stylus is too far from the digitizer to be detected.

(繼承來源 IInputElement)
StylusSystemGesture

在偵測到其中一個手寫筆筆勢時發生,例如 TapDragOccurs when one of several stylus gestures are detected, for example, Tap or Drag.

(繼承來源 IInputElement)
StylusUp

手寫筆在這個項目上方且離開數位板時發生。Occurs when the stylus is raised off the digitizer while over this element.

(繼承來源 IInputElement)
TextInput

此元素以一種與裝置無關的方式取得文字時發生。Occurs when this element gets text in a device-independent manner.

(繼承來源 IInputElement)

適用於