StylusEventArgs 類別

定義

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

public ref class StylusEventArgs : System::Windows::Input::InputEventArgs
public class StylusEventArgs : System.Windows.Input.InputEventArgs
type StylusEventArgs = class
    inherit InputEventArgs
Public Class StylusEventArgs
Inherits InputEventArgs
繼承
衍生

備註

類別 StylusEventArgs 提供下列事件的數據:

(,以及類別) 上宣告的 ContentElement 對等事件。

建構函式

StylusEventArgs(StylusDevice, Int32)

初始化 StylusEventArgs 類別的新執行個體。

屬性

Device

取得初始化這個事件的輸入裝置。

(繼承來源 InputEventArgs)
Handled

取得或設定值,這個值表示路由事件在傳送路由時之事件處理的目前狀態。

(繼承來源 RoutedEventArgs)
InAir

取得值,這個值表示手寫筆是否接近於但未碰觸數位板。

Inverted

取得值,這個值表示手寫筆是否已反轉。

OriginalSource

在父類別進行任何可能的 Source 調整之前,取得純點擊測試所判定的原始報告來源。

(繼承來源 RoutedEventArgs)
RoutedEvent

取得或設定與這個 RoutedEventArgs 執行個體相關聯的 RoutedEvent

(繼承來源 RoutedEventArgs)
Source

取得或設定引發事件之物件的參考。

(繼承來源 RoutedEventArgs)
StylusDevice

取得表示手寫筆的 StylusDevice

Timestamp

取得這個事件發生的時間。

(繼承來源 InputEventArgs)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetPosition(IInputElement)

取得手寫筆的位置。

GetStylusPoints(IInputElement)

傳回一個 StylusPointCollection,它包含與指定之輸入項目相關的 StylusPoint 物件。

GetStylusPoints(IInputElement, StylusPointDescription)

傳回一個 StylusPointCollection,它使用指定的 StylusPointDescription 並包含與指定之輸入項目相關的 StylusPoint 物件。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
InvokeEventHandler(Delegate, Object)

以型別專屬的方式叫用事件處理常式,這樣做能夠提升事件系統的效率。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnSetSource(Object)

在衍生類別中覆寫時,每當執行個體的 Source 屬性值變更,便會提供通知回呼進入點。

(繼承來源 RoutedEventArgs)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於