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
)
パラメーター
- toolAction
型: Microsoft.Windows.Design.Interaction.ToolAction
このイベントに関連付けられたツール アクション。
- sourceEvent
型: System.EventArgs
このアクションの原因となったイベント。
- inputDevice
型: System.Windows.Input.InputDevice
このイベントに関連付ける入力デバイス。
- timestamp
型: System.Int32
入力が発生した時刻。
例外
| 例外 | 条件 |
|---|---|
| ArgumentNullException | sourceEvent は nullnull 参照 (Visual Basic では Nothing) なので、 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間