RowDefinitionCollection Class

Definition

Provides access to an ordered, strongly typed collection of RowDefinition objects.

public ref class RowDefinitionCollection sealed : System::Collections::Generic::ICollection<System::Windows::Controls::RowDefinition ^>, System::Collections::Generic::IEnumerable<System::Windows::Controls::RowDefinition ^>, System::Collections::Generic::IList<System::Windows::Controls::RowDefinition ^>, System::Collections::IList
public sealed class RowDefinitionCollection : System.Collections.Generic.ICollection<System.Windows.Controls.RowDefinition>, System.Collections.Generic.IEnumerable<System.Windows.Controls.RowDefinition>, System.Collections.Generic.IList<System.Windows.Controls.RowDefinition>, System.Collections.IList
type RowDefinitionCollection = class
    interface IList<RowDefinition>
    interface ICollection<RowDefinition>
    interface seq<RowDefinition>
    interface IEnumerable
    interface IList
    interface ICollection
Public NotInheritable Class RowDefinitionCollection
Implements ICollection(Of RowDefinition), IEnumerable(Of RowDefinition), IList, IList(Of RowDefinition)
Inheritance
RowDefinitionCollection
Implements

Properties

Count

Gets the total number of items within this instance of RowDefinitionCollection.

IsReadOnly

Gets a value that indicates whether a RowDefinitionCollection is read-only.

IsSynchronized

Gets a value that indicates whether access to this RowDefinitionCollection is synchronized (thread-safe).

Item[Int32]

Gets a value that indicates the current item within a RowDefinitionCollection.

SyncRoot

Gets an object that can be used to synchronize access to the RowDefinitionCollection.

Methods

Add(RowDefinition)

Adds a RowDefinition element to a RowDefinitionCollection.

Clear()

Clears the content of the RowDefinitionCollection.

Contains(RowDefinition)

Determines whether a given RowDefinition exists within a RowDefinitionCollection.

CopyTo(RowDefinition[], Int32)

Copies an array of RowDefinition objects to a given index position within a RowDefinitionCollection.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(RowDefinition)

Returns the index position of a given RowDefinition within a RowDefinitionCollection.

Insert(Int32, RowDefinition)

Inserts a RowDefinition at the specified index position within a RowDefinitionCollection.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(RowDefinition)

Removes a RowDefinition from a RowDefinitionCollection.

RemoveAt(Int32)

Removes a RowDefinition from a RowDefinitionCollection at the specified index position.

RemoveRange(Int32, Int32)

Removes a range of RowDefinition objects from a RowDefinitionCollection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

IEnumerable<RowDefinition>.GetEnumerator()

Returns an enumerator that iterates through the collection.

IList.Add(Object)

Adds an item to the collection.

IList.Contains(Object)

Determines whether the collection contains a specific value.

IList.IndexOf(Object)

Determines the index of a specific item in the collection.

IList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.

IList.IsFixedSize

Gets a value indicating whether the collection has a fixed size.

IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object)

Removes the first occurrence of a specific object from the collection.

Extension Methods

CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

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.

Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to

See also