BaseColumnCollectionChangedEventArgsCreateColumnCopyOrReplaceArgs Method |
Create the change state that reflects the replace of one column by another (or copying data).
Namespace: Altaxo.DataAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
BaseColumnCollectionChangedEventArgsThe newly created ChangeEventArgs for this case.
See Also