NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.MenuBar.MenuButtonEvent Class Reference

Implements the Event Object for Menu Buttons More...

Inheritance diagram for NXOpen.MenuBar.MenuButtonEvent:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

unsafe string[] GetMenuAncestors ()
 Get the ancestors of the active button. 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...
 

Properties

unsafe NXOpen.MenuBar.MenuButton ActiveButton [get]
 Returns the activated MenuButton. More...
 
unsafe int ApplicationId [get]
 Returns the activated MenuButton's owning application identifier. More...
 
unsafe string MenuBarName [get]
 Returns the name of the menu bar. More...
 
- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Detailed Description

Implements the Event Object for Menu Buttons

Created in NX6.0.0

Member Function Documentation

override void NXOpen.MenuBar.MenuButtonEvent.FreeResource ( )
inlineprotectedvirtual

Frees the object from memory.

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

Created in NX6.0.0

License requirements: None.

Implements NXOpen.TransientObject.

unsafe string [] NXOpen.MenuBar.MenuButtonEvent.GetMenuAncestors ( )
inline

Get the ancestors of the active button.

Created in NX6.0.0

License requirements: None.

Returns
The ancestors that caused the event to fire

Property Documentation

unsafe NXOpen.MenuBar.MenuButton NXOpen.MenuBar.MenuButtonEvent.ActiveButton
get

Returns the activated MenuButton.

Created in NX6.0.0

License requirements: None.

unsafe int NXOpen.MenuBar.MenuButtonEvent.ApplicationId
get

Returns the activated MenuButton's owning application identifier.

Created in NX6.0.0

License requirements: None.

unsafe string NXOpen.MenuBar.MenuButtonEvent.MenuBarName
get

Returns the name of the menu bar.

Created in NX6.0.0

License requirements: None.


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