This documentation is archived and is not being maintained.

ToolBarButton Members

Represents a Windows toolbar button. Although ToolStripButton replaces and extends the ToolBarButton control of previous versions, ToolBarButton is retained for both backward compatibility and future use if you choose.

The ToolBarButton type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework ToolBarButton Overloaded. Initializes a new instance of the ToolBarButton class.
Top

  NameDescription
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Dispose Overloaded. Releases the resources used by the ToolBarButton.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework ToString Infrastructure. Returns a string that represents the ToolBarButton control. (Overrides Component.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

  NameDescription
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property Supported by the .NET Compact Framework DropDownMenu Gets or sets the menu to be displayed in the drop-down toolbar button.
Public property Supported by the .NET Compact Framework Enabled Gets or sets a value indicating whether the button is enabled.
Protected property Supported by the .NET Compact Framework Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework ImageIndex Gets or sets the index value of the image assigned to the button.
Public property ImageKey Gets or sets the name of the image assigned to the button.
Public property Name The name of the button.
Public property Parent Gets the toolbar control that the toolbar button is assigned to.
Public property PartialPush Gets or sets a value indicating whether a toggle-style toolbar button is partially pushed.
Public property Supported by the .NET Compact Framework Pushed Gets or sets a value indicating whether a toggle-style toolbar button is currently in the pushed state.
Public property Rectangle Gets the bounding rectangle for a toolbar button.
Public property Supported by the .NET Compact Framework Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Style Gets or sets the style of the toolbar button.
Public property Supported by the .NET Compact Framework Tag Gets or sets the object that contains data about the toolbar button.
Public property Text Gets or sets the text displayed on the toolbar button.
Public property Supported by the .NET Compact Framework ToolTipText Gets or sets the text that appears as a ToolTip for the button.
Public property Supported by the .NET Compact Framework Visible Gets or sets a value indicating whether the toolbar button is visible.
Top

  NameDescription
Public event Supported by the .NET Compact Framework Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Top
Show: