Bewerken

Share via


ToolStripPanel.ToolStripPanelRowCollection Class

Definition

Represents all the ToolStripPanelRow objects in a ToolStripPanel.

public: ref class ToolStripPanel::ToolStripPanelRowCollection : System::Windows::Forms::Layout::ArrangedElementCollection, System::Collections::IList
[System.ComponentModel.ListBindable(false)]
[System.Runtime.InteropServices.ComVisible(false)]
public class ToolStripPanel.ToolStripPanelRowCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.IList
[System.ComponentModel.ListBindable(false)]
public class ToolStripPanel.ToolStripPanelRowCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.IList
[<System.ComponentModel.ListBindable(false)>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type ToolStripPanel.ToolStripPanelRowCollection = class
    inherit ArrangedElementCollection
    interface IList
    interface ICollection
    interface IEnumerable
[<System.ComponentModel.ListBindable(false)>]
type ToolStripPanel.ToolStripPanelRowCollection = class
    inherit ArrangedElementCollection
    interface IList
    interface ICollection
    interface IEnumerable
Public Class ToolStripPanel.ToolStripPanelRowCollection
Inherits ArrangedElementCollection
Implements IList
Inheritance
ToolStripPanel.ToolStripPanelRowCollection
Attributes
Implements

Constructors

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel)

Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class in the specified ToolStripPanel.

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[])

Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class with the specified number of rows in the specified ToolStripPanel.

Properties

Count

Gets the number of elements in the collection.

(Inherited from ArrangedElementCollection)
IsReadOnly

Gets a value indicating whether the collection is read-only.

(Inherited from ArrangedElementCollection)
Item[Int32]

Gets a particular ToolStripPanelRow within the ToolStripPanel.ToolStripPanelRowCollection.

Methods

Add(ToolStripPanelRow)

Adds the specified ToolStripPanelRow to the ToolStripPanel.ToolStripPanelRowCollection.

AddRange(ToolStripPanel+ToolStripPanelRowCollection)

Adds the specified ToolStripPanel.ToolStripPanelRowCollection to a ToolStripPanel.

AddRange(ToolStripPanelRow[])

Adds an array of ToolStripPanelRow objects to a ToolStripPanel.

Clear()

Removes all ToolStripPanelRow objects from the ToolStripPanel.ToolStripPanelRowCollection.

Contains(ToolStripPanelRow)

Determines whether the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection.

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)
CopyTo(ToolStripPanelRow[], Int32)

Copies the entire ToolStripPanel.ToolStripPanelRowCollection into an existing array at a specified location within the array.

Equals(Object)

Determines whether two ArrangedElementCollection instances are equal.

(Inherited from ArrangedElementCollection)
GetEnumerator()

Returns an enumerator for the entire collection.

(Inherited from ArrangedElementCollection)
GetHashCode()

Returns the hash code for this instance.

(Inherited from ArrangedElementCollection)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(ToolStripPanelRow)

Gets the index of the specified ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.

Insert(Int32, ToolStripPanelRow)

Inserts the specified ToolStripPanelRow at the specified location in the ToolStripPanel.ToolStripPanelRowCollection.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(ToolStripPanelRow)

Removes the specified ToolStripPanelRow from the ToolStripPanel.ToolStripPanelRowCollection.

RemoveAt(Int32)

Removes the ToolStripPanelRow at the specified index from the ToolStripPanel.ToolStripPanelRowCollection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.IsSynchronized

For a description of this member, see the IsSynchronized property.

(Inherited from ArrangedElementCollection)
ICollection.SyncRoot

For a description of this member, see the SyncRoot property.

(Inherited from ArrangedElementCollection)
IList.Add(Object)

For a description of this member, see Add(Object).

IList.Clear()

For a description of this member, see Clear().

IList.Contains(Object)

For a description of this member, see Contains(Object).

IList.IndexOf(Object)

For a description of this member, see IndexOf(Object).

IList.Insert(Int32, Object)

For a description of this member, see Insert(Int32, Object).

IList.IsFixedSize

For a description of this member, see IsFixedSize.

IList.IsReadOnly

For a description of this member, see IsReadOnly.

IList.Item[Int32]

For a description of this member, see Item[Int32].

IList.Remove(Object)

For a description of this member, see Remove(Object).

IList.RemoveAt(Int32)

For a description of this member, see RemoveAt(Int32).

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to