Click or drag to resize

DataColumnCollectionChangeColumnPosition Method

Moves one or more columns to a new position.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void ChangeColumnPosition(
	IAscendingIntegerCollection selectedColumns,
	int newPosition
)

Parameters

selectedColumns  IAscendingIntegerCollection
The indices of the columns to move to the new position.
newPosition  Int32
The new position where the columns are moved to.
Remarks
An exception is thrown if newPosition is negative or higher than possible.
See Also