NXOpen .NET Reference Guide
1899
|
Represents a menu class utilized by BlockStyler.Tree . More...
Public Member Functions | |
unsafe void | AddMenuItem (int menuItemID, string menuItemText) |
Adds single menu item More... | |
unsafe void | AddMenuItem (int menuItemID, string menuItemText, string icon) |
Adds single menu item More... | |
unsafe void | AddSeparator () |
Adds a separator More... | |
unsafe void | AddSeperator () |
Adds a separator More... | |
unsafe bool | GetItemChecked (int menuItemID) |
Gets the checked status for given menu item More... | |
unsafe bool | GetItemDefault (int menuItemID) |
Gets the flag indicating whether the given menu item is default More... | |
unsafe bool | GetItemDialogLaunching (int menuItemID) |
Gets the flag indicating whether the given menu item is dialog lanching More... | |
unsafe bool | GetItemDisable (int menuItemID) |
Gets the flag indicating whether the given menu item is disabled More... | |
unsafe bool | GetItemHidden (int menuItemID) |
Gets the flag indicating whether the given menu item is hidden More... | |
unsafe string | GetItemIcon (int menuItemID) |
Gets the icon for given menu item More... | |
unsafe string | GetItemText (int menuItemID) |
Gets the display text for given menu item More... | |
unsafe void | SetItemChecked (int menuItemID, bool checkedStatusStatus) |
Sets the checked status for given menu item More... | |
unsafe void | SetItemDefault (int menuItemID, bool defaultStatus) |
Sets the flag indicating whether the given menu item is default More... | |
unsafe void | SetItemDialogLaunching (int menuItemID, bool dialogLaunchingStaus) |
Sets the flag indicating whether the given menu item is dialog lanching More... | |
unsafe void | SetItemDisable (int menuItemID, bool disableStatus) |
Sets the flag indicating whether the given menu item is disabled More... | |
unsafe void | SetItemHidden (int menuItemID, bool hiddenStatus) |
Sets the flag indicating whether the given menu item is hidden More... | |
unsafe void | SetItemIcon (int menuItemID, string icon) |
Sets the icon for given menu item More... | |
unsafe void | SetItemText (int menuItemID, string text) |
Sets the display text for given menu item More... | |
unsafe void | SetSubMenu (int menuItemID, NXOpen.BlockStyler.TreeListMenu subMenu) |
Sets a submenu. More... | |
Public Member Functions inherited from NXOpen.TransientObject | |
void | Dispose () |
Frees the object from memory. More... | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
new string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Protected Member Functions | |
override void | FreeResource () |
Frees the object from memory. More... | |
Additional Inherited Members | |
Properties inherited from NXOpen.TransientObject | |
IntPtr | Handle [get] |
Handle of the internal object represented by this object. More... | |
Represents a menu class utilized by BlockStyler.Tree .
Refer to BlockStyler.Tree.CreateMenu to create the menu.
Created in NX7.5.0
|
inline |
Adds single menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Unique identifier for the menu item being added |
menuItemText | Display text for menu item being added |
|
inline |
Adds single menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Unique identifier for the menu item being added |
menuItemText | Display text for menu item being added |
icon | Icon for menu item being added |
|
inline |
Adds a separator
Created in NX11.0.0
License requirements: None.
|
inline |
Adds a separator
Created in NX7.5.0
Deprecated in NX11.0.0. Use BlockStyler.TreeListMenu.AddSeparator instead.
License requirements: None.
|
inlineprotectedvirtual |
Frees the object from memory.
After this method is called, it is illegal to use the object.
Created in NX7.5.0
License requirements: None.
Implements NXOpen.TransientObject.
|
inline |
Gets the checked status for given menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Gets the flag indicating whether the given menu item is default
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Gets the flag indicating whether the given menu item is dialog lanching
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Gets the flag indicating whether the given menu item is disabled
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Gets the flag indicating whether the given menu item is hidden
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Gets the icon for given menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Gets the display text for given menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
|
inline |
Sets the checked status for given menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
checkedStatusStatus | Status |
|
inline |
Sets the flag indicating whether the given menu item is default
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
defaultStatus | Status |
|
inline |
Sets the flag indicating whether the given menu item is dialog lanching
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
dialogLaunchingStaus | Status |
|
inline |
Sets the flag indicating whether the given menu item is disabled
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
disableStatus | Status |
|
inline |
Sets the flag indicating whether the given menu item is hidden
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
hiddenStatus | Status |
|
inline |
Sets the icon for given menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
icon | Display text |
|
inline |
Sets the display text for given menu item
Created in NX7.5.0
License requirements: None.
menuItemID | Menu-item ID |
text | Display text |
|
inline |
Sets a submenu.
Submenu can be created using BlockStyler.Tree.CreateMenu method
Created in NX7.5.0
License requirements: None.
menuItemID | Menu Item ID of menu item on which submenu is supposed to be set. |
subMenu | Menu to be added as submenu |