ContextMenuEventHandler ContextMenuEventHandler ContextMenuEventHandler ContextMenuEventHandler Delegate

定義

ContextMenuOpeningContextMenuClosing のルーティング イベント、および同等の ContentElement イベントを処理するメソッドを表します。Represents the method that will handle the ContextMenuOpening and ContextMenuClosing routed events, as well as equivalent ContentElement events.

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

パラメーター

sender
Object Object Object Object

イベント ハンドラーがアタッチされているオブジェクト。The object where the event handler is attached.

継承
ContextMenuEventHandlerContextMenuEventHandlerContextMenuEventHandlerContextMenuEventHandler

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。Gets an object that represents the method represented by the specified delegate.

適用対象

こちらもご覧ください