Click or drag to resize

ToolBarButtonItem Class

Represents a toolbar button.
Inheritance Hierarchy

Namespace:  RootPro.RootProCAD.UI
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class ToolBarButtonItem : ToolBarItem

The ToolBarButtonItem type exposes the following members.

Constructors
  NameDescription
Protected methodToolBarButtonItem
Initializes a new instance of the ToolBarButtonItem class
Top
Properties
  NameDescription
Public propertyBuiltIn
Get a value indicating whether it is a built-in toolbar item.
(Inherited from ToolBarItem.)
Public propertyChecked
Get a value indicating whether the toolbar button is pressed or not.
Public propertyCheckOnClick
Gets a value indicating whether or not it will automatically be pressed when the toolbar button is clicked.
Public propertyCommandName
Get or set the command name assigned to the toolbar item.
(Inherited from ToolBarItem.)
Public propertyDisplayStyle
Get or set the display state of the toolbar item.
(Inherited from ToolBarItem.)
Public propertyEnabled
Gets a value indicating whether the toolbar item is valid.
(Inherited from ToolBarItem.)
Public propertyID
Get the command ID assigned to the toolbar item.
(Inherited from ToolBarItem.)
Public propertyIndex
Get the index number in the collection of toolbar items.
(Inherited from ToolBarItem.)
Public propertyItemType
Get the type of toolbar item.
(Inherited from ToolBarItem.)
Public propertyName
Gets or sets the key name associated with this toolbar item.
(Inherited from ToolBarItem.)
Public propertyText
Get or set the text displayed on the toolbar item.
(Inherited from ToolBarItem.)
Public propertyToolTipText
Gets or sets the text to be displayed as a tooltip for the toolbar item.
(Inherited from ToolBarItem.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCheckedChanged
Raise the CheckedChanged event.
Protected methodOnClick
Raise the click event.
(Inherited from ToolBarItem.)
Public methodSetHbitmap
Display the bitmap on the toolbar item.
(Inherited from ToolBarItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCheckedChanged
Checked Occurs when the property value is changed.
Public eventClick
Occurs when a toolbar item is clicked.
(Inherited from ToolBarItem.)
Top
See Also