GridView::SetColumnCollection Method (DependencyObject^, GridViewColumnCollection^)
.NET Framework (current version)
Sets the contents of the ColumnCollection attached property.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: static void SetColumnCollection( DependencyObject^ element, GridViewColumnCollection^ collection )
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The GridView object.
- collection
-
Type:
System.Windows.Controls::GridViewColumnCollection^
The GridViewColumnCollection object to assign.
.NET Framework
Available since 3.0
Available since 3.0
Show: