Click or drag to resize

DataColumnGetColumnTypeAppropriateForElementType Method

Gets the column typeappropriate for the given element type. Example: when typeof(double) is given, the return value is typeof(DoubleColumn).

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Type GetColumnTypeAppropriateForElementType(
	Type type
)

Parameters

type  Type
The element type.

Return Value

Type
The column type appropriate for the element type. If nothing specific is found, typeof(TextColumn) is returned.
See Also