Click or drag to resize

RowCommandsChangeRowsToPropertyColumns Method

Copies selected rows into newly created property columns and deletes the rows afterwards.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void ChangeRowsToPropertyColumns(
	this DataTable table,
	IAscendingIntegerCollection selectedDataRows,
	IAscendingIntegerCollection selectedDataColumns
)

Parameters

table  DataTable
Table which contains the data rows to change into property columns.
selectedDataRows  IAscendingIntegerCollection
Indices of the rows to change.
selectedDataColumns  IAscendingIntegerCollection
Indices of those columns which should be copies into the property column cells.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also