Version

GetMenuItemType Method (CancelableContextMenuInitializingEventArgs)

Returns a ContextMenuItemType enumeration describing the type of the passed in menuitem. If the menuitem is not one of the menuitems supplied by default (i.e., it was added by the user), the method returns '0 - Unknown or User defined'.
Syntax
'Declaration
 
Public Function GetMenuItemType( _
   ByVal menuItem As Infragistics.Win.IGControls.IGMenuItem _
) As ContextMenuItemType
public ContextMenuItemType GetMenuItemType( 
   Infragistics.Win.IGControls.IGMenuItem menuItem
)

Parameters

menuItem
The menu item whose type is to be returned.

Return Value

A ContextMenuItemType enumeration describing the type of the passed in menuitem.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also