Click or drag to resize

DataTablePropCols Property

Returns the property collection of the table.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public DataColumnCollection PropCols { get; }

Property Value

DataColumnCollection
Remarks
To get a certain property value for a certain data column of the table, use PropCols["propertyname", datacolumnnumber], where propertyname is the name of the property to retrieve and columnnumber is the number of the data column for which the property should be retrieved. Unfortunately you can not reference the data column here by name :-(, you have to know the number. Alternatively, you can reference the property (!) not by name, but by number by using PropCols[propertycolumnnumber, datacolumnnumber]. If you only have the data columns name, use PropCols("propertyname",this["datacolumsname"].Number] instead.
See Also