ColumnDefinitionCollection 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 ColumnDefinition objects.
public ref class ColumnDefinitionCollection sealed : System::Collections::Generic::ICollection<System::Windows::Controls::ColumnDefinition ^>, System::Collections::Generic::IEnumerable<System::Windows::Controls::ColumnDefinition ^>, System::Collections::Generic::IList<System::Windows::Controls::ColumnDefinition ^>, System::Collections::IList
public sealed class ColumnDefinitionCollection : System.Collections.Generic.ICollection<System.Windows.Controls.ColumnDefinition>, System.Collections.Generic.IEnumerable<System.Windows.Controls.ColumnDefinition>, System.Collections.Generic.IList<System.Windows.Controls.ColumnDefinition>, System.Collections.IList
type ColumnDefinitionCollection = class
interface ICollection<ColumnDefinition>
interface seq<ColumnDefinition>
interface IEnumerable
interface IList<ColumnDefinition>
interface ICollection
interface IList
Public NotInheritable Class ColumnDefinitionCollection
Implements ICollection(Of ColumnDefinition), IEnumerable(Of ColumnDefinition), IList, IList(Of ColumnDefinition)
- Inheritance
-
ColumnDefinitionCollection
- Implements
Properties
| Name | Description |
|---|---|
| Count |
Gets the total number of items within this instance of ColumnDefinitionCollection. |
| IsReadOnly |
Gets a value that indicates whether a ColumnDefinitionCollection is read-only. |
| IsSynchronized |
Gets a value that indicates whether access to this ColumnDefinitionCollection is synchronized (thread safe). |
| Item[Int32] |
Gets a value that indicates the current item within a ColumnDefinitionCollection. |
| SyncRoot |
Gets an object that can be used to synchronize access to the ColumnDefinitionCollection. |
Methods
| Name | Description |
|---|---|
| Add(ColumnDefinition) |
Adds a ColumnDefinition element to a ColumnDefinitionCollection. |
| Clear() |
Clears the content of the ColumnDefinitionCollection. |
| Contains(ColumnDefinition) |
Determines whether a given ColumnDefinition exists within a ColumnDefinitionCollection. |
| CopyTo(ColumnDefinition[], Int32) |
Copies an array of ColumnDefinition objects to a given index position within a ColumnDefinitionCollection. |
| IndexOf(ColumnDefinition) |
Returns the index position of a given ColumnDefinition within a ColumnDefinitionCollection. |
| Insert(Int32, ColumnDefinition) |
Inserts a ColumnDefinition at the specified index position within a ColumnDefinitionCollection. |
| Remove(ColumnDefinition) |
Removes a ColumnDefinition from a ColumnDefinitionCollection. |
| RemoveAt(Int32) |
Removes a ColumnDefinition from a ColumnDefinitionCollection at the specified index position. |
| RemoveRange(Int32, Int32) |
Removes a range of ColumnDefinition objects from a ColumnDefinitionCollection. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
For a description of this member, see CopyTo(Array, Int32). |
| IEnumerable.GetEnumerator() |
For a description of this member, see GetEnumerator(). |
| IEnumerable<ColumnDefinition>.GetEnumerator() |
For a description of this member, see GetEnumerator(). |
| IList.Add(Object) |
For a description of this member, see Add(Object). |
| 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.Item[Int32] |
For a description of this member, see Item[Int32]. |
| IList.Remove(Object) |
For a description of this member, see Remove(Object). |