RowDefinitionCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ICollection<RowDefinition>
interface seq<RowDefinition>
interface IEnumerable
interface IList<RowDefinition>
interface ICollection
interface IList
Public NotInheritable Class RowDefinitionCollection
Implements ICollection(Of RowDefinition), IEnumerable(Of RowDefinition), IList, IList(Of RowDefinition)
- Inheritance
-
RowDefinitionCollection
- Implements
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |
| 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. |
| 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. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |