Skip to main content

ViewFilter.Item[Int32] Property

Provides indexed access to the items in the collection.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public ViewColumnFilterInfo this[int index] { get; }

Parameters

Name Type Description
index Int32

An integer value specifying the zero-based index of the required DevExpress.XtraGrid.Views.Base.ViewColumnFilterInfo object.

Property Value

Type Description
DevExpress.XtraGrid.Views.Base.ViewColumnFilterInfo

The DevExpress.XtraGrid.Views.Base.ViewColumnFilterInfo object at the specified position within the collection.

Remarks

Use this property to access the individual filter criteria in the collection using index notation. The index parameter defines a value between 0 and Count - 1. If the specified index is outside the available range, an exception will be raised.

After the DevExpress.XtraGrid.Views.Base.ViewColumnFilterInfo object is obtained its ViewColumnFilterInfo.Filter property can be used to get the filter condition used to filter data. This filter condition is associated with the column referenced by the ViewColumnFilterInfo.Column property.

See Also