Skip to main content

ColumnViewOptionsFilter.UseNewCustomFilterDialog Property

Gets or sets whether the advanced custom filter dialog is used instead of the standard one.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool UseNewCustomFilterDialog { get; set; }

Property Value

Type Default Description
Boolean false

true to use the advanced custom filter dialog; false to use the standard filter dialog.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseNewCustomFilterDialog
ColumnView
.OptionsFilter .UseNewCustomFilterDialog

Remarks

Selecting the (Custom) item within the filter dropdown invokes the MS Excel style filter dialog that enables end-users to specify complex filter conditions. By default, the dialog allows you to compare a column’s values with the specified constant values. If the UseNewCustomFilterDialog option is enabled, the custom filter dialog will allow you to compare a column’s values with another column’s values.

Note: you can provide your own custom filter dialog. Handle the ColumnView.CustomFilterDialog event for this purpose.

See Also