DataFilterCollection.Add(String, String, DataFilterCondition, Object) Method
Appends a new DataFilter object with the specified column name and data type name, condition and filter value.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public int Add(
string columnName,
string dataTypeName,
DataFilterCondition condition,
object val
)
#Parameters
Name | Type | Description |
---|---|---|
column |
String | A String which specifies the name of the data column whose values are to be filtered according to the data filter condition. This value is assigned to the Data |
data |
String | A String which specifies the type name of the data stored in the column |
condition | Data |
A Data |
val | Object | An Object which specifies the value which will be used for data filtering. Note that the type of the filtering value should correspond to the type specified via the data |
#Returns
Type | Description |
---|---|
Int32 | An integer value indicating the position into which the new element was inserted. |