In This Article

NavigationBarContextMenuEventHandler Delegate

Represents the method that will handle various context menu events of a NavigationBar.

public delegate void NavigationBarContextMenuEventHandler(object sender, NavigationBarContextMenuEventArgs e)

Parameters

Name Type Description
sender object

Sender of the event.

e NavigationBarContextMenuEventArgs

A NavigationBarContextMenuEventArgs containing event data.

Remarks

When you create a NavigationBarContextMenuEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Constructors

NavigationBarContextMenuEventHandler(object, IntPtr)

public NavigationBarContextMenuEventHandler(object @object, IntPtr method)
Parameter Type Description
object object
method IntPtr

Methods

BeginInvoke(object, NavigationBarContextMenuEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, NavigationBarContextMenuEventArgs e, AsyncCallback callback, object @object)
Parameter Type Description
sender object
e NavigationBarContextMenuEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)
Parameter Type Description
result IAsyncResult

Invoke(object, NavigationBarContextMenuEventArgs)

public virtual void Invoke(object sender, NavigationBarContextMenuEventArgs e)
Parameter Type Description
sender object
e NavigationBarContextMenuEventArgs