NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | List of all members
NXOpen.CustomPopupMenu Class Reference

Represents Custom Popup Menu Item class More...

Inheritance diagram for NXOpen.CustomPopupMenu:
NXOpen.CustomPopupMenuItem

Public Member Functions

unsafe NXOpen.CustomPopupMenuItem AddMenuItem (int menuItemId, string menuItemName)
 Adds and returns a menu item to this menu More...
 
unsafe NXOpen.CustomPopupMenu AddMenu (int menuId, string menuName)
 Adds and returns a menu to this menu More...
 
unsafe void AddMenuSeparator ()
 Adds a separator in the submenu More...
 
- Public Member Functions inherited from NXOpen.CustomPopupMenuItem
unsafe int GetId ()
 Returns Id of the menu item. More...
 
unsafe string GetName ()
 Returns name of the menu item. More...
 
unsafe void SetDisabled ()
 Sets the menu disabled More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 
- Protected Member Functions inherited from NXOpen.CustomPopupMenuItem
override void FreeResource ()
 Frees the object from memory. More...
 

Detailed Description

Represents Custom Popup Menu Item class

Created in NX6.0.4

Member Function Documentation

unsafe NXOpen.CustomPopupMenu NXOpen.CustomPopupMenu.AddMenu ( int  menuId,
string  menuName 
)

Adds and returns a menu to this menu

Created in NX6.0.4

License requirements: None.

Parameters
menuIdId of the menu
menuNamename of the menu
Returns
menu
unsafe NXOpen.CustomPopupMenuItem NXOpen.CustomPopupMenu.AddMenuItem ( int  menuItemId,
string  menuItemName 
)

Adds and returns a menu item to this menu

Created in NX6.0.4

License requirements: None.

Parameters
menuItemIdId of the menu item
menuItemNamename of the menu item
Returns
menu item
unsafe void NXOpen.CustomPopupMenu.AddMenuSeparator ( )

Adds a separator in the submenu

Created in NX6.0.4

License requirements: None.

override void NXOpen.CustomPopupMenu.FreeResource ( )
protected

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Created in NX6.0.4

License requirements: None.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.