windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfilter-d0743659.md
Gets or sets whether the advanced custom filter dialog is used instead of the standard one.
Namespace : DevExpress.XtraGrid.Views.Base
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool UseNewCustomFilterDialog { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property UseNewCustomFilterDialog As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to use the advanced custom filter dialog; false to use the standard filter dialog.
|
You can access this nested property as listed below:
| Object Type | Path to UseNewCustomFilterDialog |
|---|---|
| ColumnView |
.OptionsFilter .UseNewCustomFilterDialog
|
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
ShowCustomFilterDialog(GridColumn)