ToolActionEventArgs コンストラクター (ToolAction, EventArgs, InputDevice, Int32)

ToolActionEventArgs クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.Windows.Design.Interaction
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Public Sub New ( _
    toolAction As ToolAction, _
    sourceEvent As EventArgs, _
    inputDevice As InputDevice, _
    timestamp As Integer _
)
public ToolActionEventArgs(
    ToolAction toolAction,
    EventArgs sourceEvent,
    InputDevice inputDevice,
    int timestamp
)
public:
ToolActionEventArgs(
    ToolAction toolAction, 
    EventArgs^ sourceEvent, 
    InputDevice^ inputDevice, 
    int timestamp
)
new : 
        toolAction:ToolAction * 
        sourceEvent:EventArgs * 
        inputDevice:InputDevice * 
        timestamp:int -> ToolActionEventArgs
public function ToolActionEventArgs(
    toolAction : ToolAction, 
    sourceEvent : EventArgs, 
    inputDevice : InputDevice, 
    timestamp : int
)

パラメーター

  • sourceEvent
    型: System.EventArgs
    このアクションの原因となったイベント。
  • timestamp
    型: System.Int32
    入力が発生した時刻。

例外

例外 条件
ArgumentNullException

sourceEvent は nullnull 参照 (Visual Basic では Nothing) なので、

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ToolActionEventArgs クラス

ToolActionEventArgs オーバーロード

Microsoft.Windows.Design.Interaction 名前空間

その他の技術情報

WPF デザイナーの機能拡張

ツール アーキテクチャ