ColumnDefinitionCollection::Add Method (ColumnDefinition^)
.NET Framework (current version)
Adds a ColumnDefinition element to a ColumnDefinitionCollection.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- value
-
Type:
System.Windows.Controls::ColumnDefinition^
Identifies the ColumnDefinition to add to the collection.
Implements
ICollection<T>::Add(T)The following example demonstrates how to use the Add method to add a ColumnDefinition to a ColumnDefinitionCollection.
To view the complete sample, see How to: Manipulate Columns and Rows by Using ColumnDefinitionsCollections and RowDefinitionsCollections.
.NET Framework
Available since 3.0
Available since 3.0
Show: