Click or drag to resize
StyleInfoGetFormatPreviewValue Method
Computes a default value for a given data type, so it can be used for preview.

Namespace: Stingray.Grid
Assembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
public static Object GetFormatPreviewValue(
	TypeCode typeCode
)

Parameters

typeCode
Type: SystemTypeCode
The tested data type.

Return Value

Type: Object
A default value that fits the typeCode format, that can be used in a preview UI element.
See Also