Skip to main content

TcxGridChartItemDataBinding.IsValueTypeClassValid(TcxValueTypeClass) Method

Determines whether the specified data type is valid for the DataBinding object.

Declaration

function IsValueTypeClassValid(AValueTypeClass: TcxValueTypeClass): Boolean; virtual;

Parameters

Name Type
AValueTypeClass TcxValueTypeClass

Returns

Type
Boolean

Remarks

Valid data types for series values (displayed as chart values in diagrams) are restricted to numeric data types, including binary-coded decimals (BCD) stored in TFMTBCDField fields. As for categories, any data type is valid for data binding. Use the IsValueTypeClassValid function to determine whether a specific data type is valid for the DataBinding object. If the data type specified by the AValueTypeClass parameter is valid for data binding, the IsValueTypeClassValid function returns True. Otherwise, it returns False.

See Also