NetXP 3.0 Reference

CommandBarButtonItem Members

CommandBarButtonItem overview

Public Instance Constructors

CommandBarButtonItemOverloaded. Initializes a new instance of the CommandBarButtonItem class.

Public Instance Properties

Checked Is this item checked (depressed)?
CheckType How the item displays checkmarks.
Container (inherited from Component) Gets the IContainer that contains the Component.
ContainerControl (inherited from CommandBarItem) The item's container control.
DefaultItem Does this item show its text bold when shown on a menu?
DropUp Gets or sets if this item is dropped up instead of down.
Enabled (inherited from CommandBarItem) Is this item enabled?
HotImage The item's hot image.
Image The item's image.
Infrequent (inherited from CommandBarItem) Is this item infrequent?
Items A collection of CommandBarItem objects shown in the submenu of this item.
MenuSelectable (inherited from CommandBarItem) Can this item be selected in a menu?
PadHorizontal (inherited from CommandBarItem) The item's horizontal padding.
PadVertical (inherited from CommandBarItem) The item's vertical padding.
Shortcut The item's shortcut key (if a menu item).
ShowText Does this item show its text?
Site (inherited from Component) Gets or sets the ISite of the Component.
Style The item's display style.
Tag (inherited from CommandBarItem) An object associated with this item.
Text (inherited from CommandBarItem) The item's text.
Visible (inherited from CommandBarItem) Is this item visible?

Public Instance Methods

CalculateSize See CommandBarItem
CalculateSizeMenu See CommandBarItem
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 See CommandBarItem
DrawMenu See CommandBarItem
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 See CommandBarItem
OnContainerChanged See CommandBarItem
ProcessMouseDown See CommandBarItem
ProcessMouseMove See CommandBarItem
ProcessMouseUp See CommandBarItem
ResumeEvents (inherited from CommandBarItem) Resumes events.
SuspendEvents (inherited from CommandBarItem) Suspends events.
ToString (inherited from CommandBarItem) Gives a string representation of this item.

Public Instance Events

Changed (inherited from CommandBarItem) Called when the item's properties are changed.
Click (inherited from CommandBarItem) Called when the item is clicked.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
DropDown Called when a dropdown menu is shown. Cancel the event in order to avoid showing the default popup menu.
Enter See IStatusMessageProvider.
Hover (inherited from CommandBarItem) Called when the mouse moves over the item.
Leave (inherited from CommandBarItem) Called when the mouse has left the item.

See Also

CommandBarButtonItem Class | NETXP.Controls.Bars Namespace