NetXP 3.0 Reference

CommandBarItem Members

CommandBarItem overview

Public Instance Constructors

CommandBarItemOverloaded. Initializes a new instance of the CommandBarItem class.

Public Instance Properties

Container (inherited from Component) Gets the IContainer that contains the Component.
ContainerControl The item's container control.
Enabled Is this item enabled?
Infrequent Is this item infrequent?
MenuSelectable Can this item be selected in a menu?
PadHorizontal The item's horizontal padding.
PadVertical The item's vertical padding.
Site (inherited from Component) Gets or sets the ISite of the Component.
Tag An object associated with this item.
Text The item's text.
Visible Is this item visible?

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.

Public Instance Events

Changed Called when the item's properties are changed.
Click Called when the item is clicked.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
Hover Called when the mouse moves over the item.
Leave Called when the mouse has left the item.

See Also

CommandBarItem Class | NETXP.Controls.Bars Namespace