TcxPivotGridFieldDataBinding.ValueTypeClass Property
Determines the data type of the data binding.
Declaration
property ValueTypeClass: TcxValueTypeClass read; write;
Property Value
Type |
---|
TcxValueTypeClass |
Remarks
The ValueTypeClass property specifies the data type of the data binding, thus determining the type of value a field represents. Generally, ValueTypeClass should only be set for the unbound and provider modes. This ensures correct memory allocation, validation and sorting of field values. The ValueType property specifies the string representation of the data type. This property can be used to set a field’s data type at design time.
In bound mode, the ValueTypeClass and ValueType properties are automatically assigned based upon the underlying data field’s type. To create an unbound item of the specified type in your data-aware pivot grids, customize these properties as needed. This also requires the DataBinding.FieldName property to be unassigned.