DataFilter.DataType Property

Gets or sets the data type of the value associated with the current data filter object.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll


public Type DataType { get; set; }
Public Property DataType As Type

Property Value

Type Description

A Type object that represents the value data type.


Use the DataType property to specify the data type of the filter value represented by the current data filter item. This value is specified by the DataFilter.Value property.

Note that setting the DataType property value is critical for assigning the correct filter value of a data filter item. The data type defined by this property should coincide with the data type of the data field specified by the DataFilter.ColumnName property. And the value assigned to the DataFilter.Value property can only be of the specified data type.

See Also