Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
)

Parameters

index
Type: System.Int32

The position to place the new GridViewColumn.

column
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
Show:
© 2017 Microsoft