NetXP 3.0 Reference

CommandBarItem Methods

The methods of the CommandBarItem class are listed below. For a complete list of CommandBarItem class members, see the CommandBarItem Members topic.

Public Instance Methods

CalculateSize Calculates the size of this command bar item on a command bar.
CalculateSizeMenu Calculates the size of this command bar item on a popup menu.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component) Releases all resources used by the Component.
Draw Draws the command bar item on a command bar.
DrawMenu Draws the command bar item on a popup menu.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
Initialize Resets the item to default properties.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
OnBoundsChanged Called when the item's bounds rectangle changed.
OnContainerChanged Called when the container control changed.
ProcessMouseDown Processes a MouseDown event.
ProcessMouseMove Processes a MouseMove event.
ProcessMouseUp Processes a MouseUp event.
ResumeEvents Resumes events.
SuspendEvents Suspends events.
ToString Gives a string representation of this item.

See Also

CommandBarItem Class | NETXP.Controls.Bars Namespace