In This Article

NavigationBarContextMenuEventArgs Class

Provides data for NavigationBar context menu events.

public class NavigationBarContextMenuEventArgs : NavigationPaneCancelEventArgs
Inheritance:
object EventArgs CancelEventArgs NavigationPaneCancelEventArgs object

Constructors

NavigationBarContextMenuEventArgs(NavigationPane?, Rectangle, NavigationBarContextMenuSource)

Provides data for NavigationBar context menu events.

public NavigationBarContextMenuEventArgs(NavigationPane? navigationPane, Rectangle bounds, NavigationBarContextMenuSource source)
Parameter Type Description
navigationPane NavigationPane

The NavigationPane affected by this event.

bounds Rectangle

The bounds around which the menu should be displayed.

source NavigationBarContextMenuSource

A NavigationBarContextMenuSource indicating the source of the event.

Properties

Bounds

The bounds around which the menu should be displayed.

public Rectangle Bounds { get; }

Property Value

Rectangle

Source

The source of the event.

public NavigationBarContextMenuSource Source { get; }

Property Value

NavigationBarContextMenuSource

Inherited Members

Extension Methods