Skybound Rebar

ToggleMenuEventArgs Constructor 

Creates a new instance of a ToggleMenuEventArgs object.

[Visual Basic]
Public Sub New( _
   ByVal menu As ContextMenu, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal itemToButtonMap As IDictionary _
)
[C#]
public ToggleMenuEventArgs(
   ContextMenu menu,
   int x,
   int y,
   IDictionary itemToButtonMap
);

Parameters

menu
The ContextMenu to be displayed.
x
The x-coordinate where the menu is to be displayed.
y
The y-coordinate where the menu is to be displayed.
itemToButtonMap
An IDictionary that maps the menu items in the context menu to the RebarBand objects they toggle.

See Also

ToggleMenuEventArgs Class | Skybound.Rebar Namespace