A newer version of this page is available. Switch to the current version.

ToolbarItemBase Members

The base class for toolbar items.

Constructors

Name Description
ToolbarItemBase() Initializes a new instance of the ToolbarItemBase class with the default settings.
ToolbarItemBase(String) Initializes a new instance of the ToolbarItemBase class with the specified text.
ToolbarItemBase(String, String) Initializes a new instance of the ToolbarItemBase class with the specified settings.

Properties

Name Description
Collection Gets the collection to which an item belongs. Inherited from CollectionItem.
Image Gets the settings of an image displayed by the item.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
Text Gets or sets the text content of a toolbar item.
ToolTip Gets or sets the item’s tooltip text.

Methods

Name Description
Assign(CollectionItem) Copies the settings from the specified item to the current object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object. Inherited from CollectionItem.
See Also