This documentation is archived and is not being maintained.

ToolStripPanel.ToolStripPanelRowCollection Class

Represents all the ToolStripPanelRow objects in a ToolStripPanel.


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

public class ToolStripPanelRowCollection : ArrangedElementCollection, 
	IList, ICollection, IEnumerable

The ToolStripPanel.ToolStripPanelRowCollection type exposes the following members.

Public methodToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel)Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class in the specified ToolStripPanel.
Public methodToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[])Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class with the specified number of rows in the specified ToolStripPanel.

Public propertyCountGets the number of elements in the collection. (Inherited from ArrangedElementCollection.)
Public propertyIsReadOnlyGets a value indicating whether the collection is read-only. (Inherited from ArrangedElementCollection.)
Public propertyItemGets a particular ToolStripPanelRow within the ToolStripPanel.ToolStripPanelRowCollection.

Public methodAddAdds the specified ToolStripPanelRow to the ToolStripPanel.ToolStripPanelRowCollection.
Public methodAddRange(ToolStripPanel.ToolStripPanelRowCollection)Adds the specified ToolStripPanel.ToolStripPanelRowCollection to a ToolStripPanel.
Public methodAddRange(ToolStripPanelRow[])Adds an array of ToolStripPanelRow objects to a ToolStripPanel.
Public methodClearRemoves all ToolStripPanelRow objects from the ToolStripPanel.ToolStripPanelRowCollection.
Public methodContainsDetermines whether the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection.
Public methodCopyTo(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.)
Public methodCopyTo(ToolStripPanelRow[], Int32)Copies the entire ToolStripPanel.ToolStripPanelRowCollection into an existing array at a specified location within the array.
Public methodEqualsDetermines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorReturns an enumerator for the entire collection. (Inherited from ArrangedElementCollection.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ArrangedElementCollection.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfGets the index of the specified ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.
Public methodInsertInserts the specified ToolStripPanelRow at the specified location in the ToolStripPanel.ToolStripPanelRowCollection.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves the specified ToolStripPanelRow from the ToolStripPanel.ToolStripPanelRowCollection.
Public methodRemoveAtRemoves the ToolStripPanelRow at the specified index from the ToolStripPanel.ToolStripPanelRowCollection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)

Explicit interface implemetationPrivate propertyICollection.IsSynchronizedFor a description of this member, see the ICollection.IsSynchronized property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate propertyICollection.SyncRootFor a description of this member, see the ICollection.SyncRoot property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate methodIList.AddFor a description of this member, see IList.Add.
Explicit interface implemetationPrivate methodIList.ClearFor a description of this member, see IList.Clear.
Explicit interface implemetationPrivate methodIList.ContainsFor a description of this member, see IList.Contains.
Explicit interface implemetationPrivate methodIList.IndexOfFor a description of this member, see IList.IndexOf.
Explicit interface implemetationPrivate methodIList.InsertFor a description of this member, see IList.Insert.
Explicit interface implemetationPrivate propertyIList.IsFixedSizeFor a description of this member, see IList.IsFixedSize.
Explicit interface implemetationPrivate propertyIList.IsReadOnlyFor a description of this member, see IList.IsReadOnly.
Explicit interface implemetationPrivate propertyIList.ItemFor a description of this member, see IList.Item.
Explicit interface implemetationPrivate methodIList.RemoveFor a description of this member, see IList.Remove.
Explicit interface implemetationPrivate methodIList.RemoveAtFor a description of this member, see IList.RemoveAt.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.