Skip to main content

CustomFilterDialogEventArgs.FilterInfo Property

Gets or sets an object specifying custom filter criteria.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public ColumnFilterInfo FilterInfo { get; set; }

Property Value

Type Description
ColumnFilterInfo

A ColumnFilterInfo object specifying the filter criteria to be applied.

Remarks

By default, the FilterInfo property contains a ColumnFilterInfo object with default settings which implies that no filtering is about to be applied. To provide custom filtering, you need to create a new ColumnFilterInfo class instance, modify its settings as needed and assign it to the FilterInfo property.

Note that in order to apply the filtering specified by the FilterInfo property, you should set the CustomFilterDialogEventArgs.Handled property to true. Otherwise, the standard custom filter dialog will be displayed and its settings will specify the applied filter criteria.

See Also