NavigationBarContextMenuEventArgs Class
Provides data for NavigationBar context menu events.
public class NavigationBarContextMenuEventArgs : NavigationPaneCancelEventArgs
- Inheritance:
- object EventArgs CancelEventArgs NavigationPaneCancelEventArgs object
Constructors
NavigationBarContextMenuEventArgs(NavigationPane, Rectangle, NavigationBarContextMenuSource)
Initializes a new instance of the NavigationBarContextMenuEventArgs
class.
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
Gets the bounds around which the menu should be displayed.
public Rectangle Bounds { get; }
Property Value
- Rectangle:
The bounds around which the menu should be displayed.
Source
Gets a NavigationBarContextMenuSource indicating the source of the event.
public NavigationBarContextMenuSource Source { get; }
Property Value
- NavigationBarContextMenuSource:
A NavigationBarContextMenuSource indicating the source of the event.