This topic has not yet been rated - Rate this topic

ToolStripPanel.ToolStripPanelRowCollection Class

Represents all the ToolStripPanelRow objects in a ToolStripPanel.

System.Object
  System.Windows.Forms.Layout.ArrangedElementCollection
    System.Windows.Forms.ToolStripPanel.ToolStripPanelRowCollection

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)
[ListBindableAttribute(false)]
[ComVisibleAttribute(false)]
public class ToolStripPanelRowCollection : ArrangedElementCollection, 
	IList, ICollection, IEnumerable

The ToolStripPanel.ToolStripPanelRowCollection type exposes the following members.

  Name Description
Public method ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel) Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class in the specified ToolStripPanel.
Public method ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[]) Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class with the specified number of rows in the specified ToolStripPanel.
Top
  Name Description
Public property Count Gets the number of elements in the collection. (Inherited from ArrangedElementCollection.)
Public property IsReadOnly Gets a value indicating whether the collection is read-only. (Inherited from ArrangedElementCollection.)
Public property Item Gets a particular ToolStripPanelRow within the ToolStripPanel.ToolStripPanelRowCollection.
Top
  Name Description
Public method Add Adds the specified ToolStripPanelRow to the ToolStripPanel.ToolStripPanelRowCollection.
Public method AddRange(ToolStripPanel.ToolStripPanelRowCollection) Adds the specified ToolStripPanel.ToolStripPanelRowCollection to a ToolStripPanel.
Public method AddRange(ToolStripPanelRow[]) Adds an array of ToolStripPanelRow objects to a ToolStripPanel.
Public method Clear Removes all ToolStripPanelRow objects from the ToolStripPanel.ToolStripPanelRowCollection.
Public method Contains Determines whether the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection.
Public method CopyTo(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 method CopyTo(ToolStripPanelRow[], Int32) Copies the entire ToolStripPanel.ToolStripPanelRowCollection into an existing array at a specified location within the array.
Public method Equals Determines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator for the entire collection. (Inherited from ArrangedElementCollection.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ArrangedElementCollection.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.
Public method Insert Inserts the specified ToolStripPanelRow at the specified location in the ToolStripPanel.ToolStripPanelRowCollection.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the specified ToolStripPanelRow from the ToolStripPanel.ToolStripPanelRowCollection.
Public method RemoveAt Removes the ToolStripPanelRow at the specified index from the ToolStripPanel.ToolStripPanelRowCollection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
  Name Description
Explicit interface implemetation Private property ICollection.IsSynchronized For a description of this member, see the ICollection.IsSynchronized property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot For a description of this member, see the ICollection.SyncRoot property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetation Private method IList.Add For a description of this member, see IList.Add.
Explicit interface implemetation Private method IList.Clear For a description of this member, see IList.Clear.
Explicit interface implemetation Private method IList.Contains For a description of this member, see IList.Contains.
Explicit interface implemetation Private method IList.IndexOf For a description of this member, see IList.IndexOf.
Explicit interface implemetation Private method IList.Insert For a description of this member, see IList.Insert.
Explicit interface implemetation Private property IList.IsFixedSize For a description of this member, see IList.IsFixedSize.
Explicit interface implemetation Private property IList.IsReadOnly For a description of this member, see IList.IsReadOnly.
Explicit interface implemetation Private property IList.Item For a description of this member, see IList.Item.
Explicit interface implemetation Private method IList.Remove For a description of this member, see IList.Remove.
Explicit interface implemetation Private method IList.RemoveAt For a description of this member, see IList.RemoveAt.
Top

.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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ