Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal menuType As ContextMenuType, _ ByVal selectedItem As MenuItem _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim menuType As ContextMenuType Dim selectedItem As MenuItem Dim instance As New MenuItemClickEventArgs(menuType, selectedItem) |
C# | |
---|---|
public MenuItemClickEventArgs( ContextMenuType menuType, MenuItem selectedItem ) |
Parameters
- menuType
- Type of the menu.
- selectedItem
- The selected item.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6