Spread for ASP.NET 7.0 Product Documentation
MenuItemClickEventArgs Constructor
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > MenuItemClickEventArgs Class : MenuItemClickEventArgs Constructor


selectedItem
The selected item.

Glossary Item Box

Initializes a new instance of the MenuItemClickEventArgs class.

Syntax

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.

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.