InsertItem Method
Collapse the table of content
Expand the table of content

GridViewColumnCollection.InsertItem Method (Int32, GridViewColumn)


Adds a GridViewColumn to the collection at the specified index.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void InsertItem(
	int index,
	GridViewColumn column


Type: System.Int32

The position to place the new GridViewColumn.

Type: System.Windows.Controls.GridViewColumn

The GridViewColumn to insert.

This method creates a new item in the GridViewColumnCollection without replacing another item. To replace an item in the collection with a new item, use the SetItem method.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft