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]
public static Object GetFormatPreviewValue(
	TypeCode 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