Click or drag to resize

BaseColumnCollectionChangedEventArgsCreateColumnCopyOrReplaceArgs Method

Create the change state that reflects the replace of one column by another (or copying data).

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static BaseColumnCollectionChangedEventArgs CreateColumnCopyOrReplaceArgs(
	bool isPropertyColumn,
	string columnName,
	int columnIndex,
	int oldRowCount,
	int newRowCount
)

Parameters

isPropertyColumn  Boolean
True if the call comes from a collection of property columns; false if the call comes from a collection of data columns.
columnName  String
The name of the column that was replaced.
columnIndex  Int32
The index of the column to replace.
oldRowCount  Int32
The row count of the old (replaced) column.
newRowCount  Int32
The row count of the new column.

Return Value

BaseColumnCollectionChangedEventArgs
The newly created ChangeEventArgs for this case.
See Also