Search
ToolStrip Members
Constructors Properties Methods Events
 


Represents a container of toolbar buttons.

The following tables list the members exposed by the ToolStrip type.

 Public Constructors

  Name Description

ToolStrip

Initializes a new instance of the ToolStrip class.

 Public Properties

  Name Description

acceptDrop

Gets or sets the ToolStripItem instance that can be dropped.

allowDrag

Gets or sets whether drag and drop capabilities are enabled. (Inherited from ListContainer.)

allowDrop

Gets or sets whether the ListContainer control can be used as a drop target. (Inherited from ListContainer.)

allowMultipleSelection

Gets or sets whether users are allowed to select more than one item at a time. (Inherited from ListContainer.)

collapsible

Gets or sets a value indicating whether the toolstrip can be collapsed.

content

Gets a reference to the container's content element. (Inherited from ListContainer.)

expanded

Gets a value indicating whether the ToolStrip is currently expanded.

items

Gets the collection of ListItem-s. (Inherited from ListContainer.)

itemSize

Gets or sets the size of the list items. (Inherited from ListContainer.)

orientation

Gets or sets a value indicating how list items are arranged. (Inherited from ListContainer.)

scrollable

Gets or sets a value indicating whether the ToolStrip displays scroll arrows when there is not enough room to display all items.

selection

Gets the collection of selected items. (Inherited from ListContainer.)

 Public Methods

  Name Description

attach

ListContainer.attach override.

collapse

Collapses the toolstrip.

deselectItem

Deselects an item. (Inherited from ListContainer.)

detach

ListContainer.detach override.

draw

Control.draw override.

expand

Expands the toolstrip.

fromJson

Deserializes items from a JSON string. (Inherited from ListContainer.)

fromObject

Loads items from a data object. (Inherited from ListContainer.)

getItemAt

Gets the item at the specified point. (Inherited from ListContainer.)

raiseItemDragEnd

Raises the itemDragEnd event. (Inherited from ListContainer.)

selectItem

Selects a ListItem. (Inherited from ListContainer.)

toJson

Serializes the ListItem-s to a JSON string. (Inherited from ListContainer.)

 Public Events

  Name Description

dragDrop

Raised when an item is dropped onto the control. (Inherited from ListContainer.)

dragOver

Raised when an item is dragged over the control. (Inherited from ListContainer.)

itemClick

Raised when an item is clicked. (Inherited from ListContainer.)

itemDoubleClick

Raised when an item is double-clicked. (Inherited from ListContainer.)

itemDrag

Raised when an item is dragged. (Inherited from ListContainer.)

itemDragEnd

Raised when a drag operation on an item is finished. (Inherited from ListContainer.)

itemDragStart

Raised when a drag operation on an item is started. (Inherited from ListContainer.)

itemDraw

Raised when an item is being drawn. (Inherited from ListContainer.)

itemDrop

Raised when a drop operation is finished. (Inherited from ListContainer.)

itemMouseDown

Raised when a mousedown event occurs in an item's element. (Inherited from ListContainer.)

itemMouseEnter

Raised when a mouseenter event occurs in an item's element. (Inherited from ListContainer.)

itemMouseLeave

Raised when a mouseleave event occurs in an item's element. (Inherited from ListContainer.)

itemsChanged

Raised when the items collection is changed. (Inherited from ListContainer.)

itemsChanging

Raised when the items collection is changing. (Inherited from ListContainer.)

selectionChanged

Raised when the selection collection is changed. (Inherited from ListContainer.)

selectionChanging

Raised when the selection collection is changing. (Inherited from ListContainer.)

 See Also