ToolStripItemCollection Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodAdd(Image^)

Adds a ToolStripItem that displays the specified image to the collection.

System_CAPS_pubmethodAdd(String^)

Adds a ToolStripItem that displays the specified text to the collection.

System_CAPS_pubmethodAdd(String^, Image^)

Adds a ToolStripItem that displays the specified image and text to the collection.

System_CAPS_pubmethodAdd(String^, Image^, EventHandler^)

Adds a ToolStripItem that displays the specified image and text to the collection and that raises the Click event.

System_CAPS_pubmethodAdd(ToolStripItem^)

Adds the specified item to the end of the collection.

System_CAPS_pubmethodAddRange(array<ToolStripItem^>^)

Adds an array of ToolStripItem controls to the collection.

System_CAPS_pubmethodAddRange(ToolStripItemCollection^)

Adds a ToolStripItemCollection to the current collection.

System_CAPS_pubmethodClear()

Removes all items from the collection.

System_CAPS_pubmethodContains(ToolStripItem^)

Determines whether the specified item is a member of the collection.

System_CAPS_pubmethodContainsKey(String^)

Determines whether the collection contains an item with the specified key.

System_CAPS_pubmethodCopyTo(Array^, Int32)

Copies the entire contents of this collection to a compatible one-dimensional Array, starting at the specified index of the target array.(Inherited from ArrangedElementCollection.)

System_CAPS_pubmethodCopyTo(array<ToolStripItem^>^, Int32)

Copies the collection into the specified position of the specified ToolStripItem array.

System_CAPS_pubmethodEquals(Object^)

Determines whether two ArrangedElementCollection instances are equal.(Inherited from ArrangedElementCollection.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFind(String^, Boolean)

Searches for items by their name and returns an array of all matching controls.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator for the entire collection.(Inherited from ArrangedElementCollection.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ArrangedElementCollection.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(ToolStripItem^)

Retrieves the index of the specified item in the collection.

System_CAPS_pubmethodIndexOfKey(String^)

Retrieves the index of the first occurrence of the specified item within the collection.

System_CAPS_pubmethodInsert(Int32, ToolStripItem^)

Inserts the specified item into the collection at the specified index.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemove(ToolStripItem^)

Removes the specified item from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes an item from the specified index in the collection.

System_CAPS_pubmethodRemoveByKey(String^)

Removes the item that has the specified key.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Add(Object^)

Adds an item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Clear()

Removes all items from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Contains(Object^)

Determines if the collection contains a specified item.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::IndexOf(Object^)

Determines the location of a specified item in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Insert(Int32, Object^)

Inserts an item into the collection at a specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Remove(Object^)

Removes the first occurrence of a specified item from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::RemoveAt(Int32)

Removes an item from the collection at a specified index.

Return to top
Show: