GridViewColumnCollection.MoveItem(Int32, Int32) Method

Definition

Changes the position of a GridViewColumn in the collection.

protected:
 override void MoveItem(int oldIndex, int newIndex);
protected override void MoveItem (int oldIndex, int newIndex);
override this.MoveItem : int * int -> unit
Protected Overrides Sub MoveItem (oldIndex As Integer, newIndex As Integer)

Parameters

oldIndex
Int32

The original position of the GridViewColumn.

newIndex
Int32

The new position of the GridViewColumn.

Applies to