Back to Devexpress

ColumnViewOptionsFilter.UseNewCustomFilterDialog Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfilter-d0743659.md

latest3.0 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool UseNewCustomFilterDialog { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property UseNewCustomFilterDialog As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

ShowCustomFilterDialog(GridColumn)

Filter and Search

ColumnViewOptionsFilter Class

ColumnViewOptionsFilter Members

DevExpress.XtraGrid.Views.Base Namespace