| StyleInfoGetFormatPreviewValue Method |
Computes a default value for a given data type, so it can be used for preview.
Namespace: Stingray.GridAssembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax public static Object GetFormatPreviewValue(
TypeCode typeCode
)
Public Shared Function GetFormatPreviewValue (
typeCode As TypeCode
) As Object
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