StylusEventHandler 代理人

定義

IInputElement インターフェイスを実装するクラスのスタイラス イベントを処理するメソッドを表します。

public delegate void StylusEventHandler(System::Object ^ sender, StylusEventArgs ^ e);
public delegate void StylusEventHandler(object sender, StylusEventArgs e);
type StylusEventHandler = delegate of obj * StylusEventArgs -> unit
Public Delegate Sub StylusEventHandler(sender As Object, e As StylusEventArgs)

パラメーター

sender
Object

イベントのソース。

e
StylusEventArgs

イベントのデータ。

次の例では、 デリゲートを使用してイベントの StylusEventHandler ハンドラーを指定する方法を StylusDown 示します。

button1.StylusDown += new StylusDownEventHandler(button1_StylusDown);
AddHandler button1.StylusDown, AddressOf button1_StylusDown

拡張メソッド

GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象