Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public Type DataType { get; set; }

Property Value

Type Description
Type

A Type object that represents the value data type.

Remarks

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