Back to Devexpress

ColumnBase.AllowedBinaryFilters Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-c8ec1c34.md

latest5.1 KB
Original Source

ColumnBase.AllowedBinaryFilters Property

Gets or sets binary filters that the GridControl‘s column supports.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public AllowedBinaryFilters? AllowedBinaryFilters { get; set; }
vb
Public Property AllowedBinaryFilters As AllowedBinaryFilters?

Property Value

TypeDescription
Nullable<AllowedBinaryFilters>

AllowedBinaryFilters

|

Available values:

Show 14 items

NameDescription
None

There are no allowed binary filters.

| | Equals |

Specifies the Equals filter criteria.

| | DoesNotEqual |

Specifies the Does Not Equal filter criteria.

| | Greater |

Specifies the Greater filter criteria.

| | GreaterOrEqual |

Specifies the Greater Or Equal filter criteria.

| | Less |

Specifies the Less filter criteria.

| | LessOrEqual |

Specifies the Less Or Equal filter criteria.

| | Contains |

Specifies the Contains filter criteria.

| | DoesNotContain |

Specifies the Does Not Contain filter criteria.

| | BeginsWith |

Specifies the Begins With filter criteria.

| | EndsWith |

Specifies the Ends With filter criteria.

| | Like |

Specifies the Like filter criteria.

| | NotLike |

Specifies the Not Like filter criteria.

| | All |

All binary filters are allowed.

|

Remarks

Refer to the following help topic for more information: Allowed Filters.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowedBinaryFilters property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-data-grid-bind-to-pagedasyncsource/CS/PagedAsyncSourceSample/MainWindow.xaml#L25

xml
AllowSorting="True" DefaultSortOrder="Descending"
                AllowedBinaryFilters="GreaterOrEqual" FilterPopupMode="Excel"/>
<dxg:GridColumn FieldName="Priority" IsSmart="True" Width="*"

wpf-data-grid-bind-to-infiniteasyncsource/CS/InfiniteAsyncSourceSample/MainWindow.xaml#L29

xml
AllowSorting="True" DefaultSortOrder="Descending"
                AllowedBinaryFilters="GreaterOrEqual" FilterPopupMode="Excel"/>
<dxg:GridColumn FieldName="Priority" IsSmart="True" AllowEditing="True" Width="*"

how-to-bind-to-grpc/CS/InfiniteAsyncSource.GRPC/MainWindow.xaml#L45

xml
AllowSorting="True" DefaultSortOrder="Descending"
                        AllowedBinaryFilters="GreaterOrEqual" FilterPopupMode="Excel" AllowEditing="true"/>
<dxg:GridColumn FieldName="Priority" IsSmart="True" Width="*"

wpf-data-grid-bind-to-custom-service-with-restrictions/CS/MainWindow.xaml#L32

xml
AllowSorting="True" DefaultSortOrder="Descending"
AllowedBinaryFilters="GreaterOrEqual,LessOrEqual" FilterPopupMode="Excel"
AllowColumnFiltering="{DXBinding '$dxu:DefaultBooleanExtension.ToDefaultBoolean(@s.IsSorted)'}" />

wpf-data-grid-use-virtual-sources-to-bind-to-in-memory-data/CS/MainWindow.xaml#L25

xml
AllowSorting="True" DefaultSortOrder="Descending"
                AllowedBinaryFilters="GreaterOrEqual" FilterPopupMode="Excel"/>
<dxg:GridColumn FieldName="Priority" IsSmart="True" Width="*"

See Also

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace