Click or drag to resize

ColumnCommandsSetColumnGroupNumber(DataColumnCollection, IAscendingIntegerCollection, Int32) Method

Sets the group number of the currently selected columns to
C#
nGroup
.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void SetColumnGroupNumber(
	this DataColumnCollection datacoll,
	IAscendingIntegerCollection selected,
	int nGroup
)

Parameters

datacoll  DataColumnCollection
The data column collection to which to apply this procedure.
selected  IAscendingIntegerCollection
Collection of column indices for which to set the group number.
nGroup  Int32
The group number to set for the selected columns.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataColumnCollection. 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