Click or drag to resize

ToolBarItem Class

Represents one toolbar item.
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 ToolBarItem

The ToolBarItem type exposes the following members.

Constructors
  NameDescription
Protected methodToolBarItem
Initializes a new instance of the ToolBarItem class
Top
Properties
  NameDescription
Public propertyBuiltIn
Get a value indicating whether it is a built-in toolbar item.
Public propertyCommandName
Get or set the command name assigned to the toolbar item.
Public propertyDisplayStyle
Get or set the display state of the toolbar item.
Public propertyEnabled
Gets a value indicating whether the toolbar item is valid.
Public propertyID
Get the command ID assigned to the toolbar item.
Public propertyIndex
Get the index number in the collection of toolbar items.
Public propertyItemType
Get the type of toolbar item.
Public propertyName
Gets or sets the key name associated with this toolbar item.
Public propertyText
Get or set the text displayed on the toolbar item.
Public propertyToolTipText
Gets or sets the text to be displayed as a tooltip for the toolbar item.
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 methodOnClick
Raise the click event.
Public methodSetHbitmap
Display the bitmap on the toolbar item.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventClick
Occurs when a toolbar item is clicked.
Top
See Also