InputDevice 類別

定義

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

public ref class InputDevice abstract : System::Windows::Threading::DispatcherObject
public abstract class InputDevice : System.Windows.Threading.DispatcherObject
type InputDevice = class
    inherit DispatcherObject
Public MustInherit Class InputDevice
Inherits DispatcherObject
繼承
InputDevice
衍生

建構函式

InputDevice()

初始化 InputDevice 類別的新執行個體。Initializes a new instance of the InputDevice class.

屬性

ActiveSource

在衍生類別中覆寫時,取得報告這個裝置之輸入的 PresentationSourceWhen overridden in a derived class, gets the PresentationSource that is reporting input for this device.

Dispatcher

取得與這個 Dispatcher 關聯的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(繼承來源 DispatcherObject)
Target

在衍生類別中覆寫時,會取得從這個裝置接收輸入的項目。When overridden in a derived class, gets the element that receives input from this device.

方法

CheckAccess()

判斷呼叫的執行是否可以存取這個 DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(繼承來源 DispatcherObject)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
VerifyAccess()

請強制執行可以存取這個 DispatcherObject 的呼叫執行緒。Enforces that the calling thread has access to this DispatcherObject.

(繼承來源 DispatcherObject)

適用於

另請參閱