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: 14.0.0.0
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