Back to Devexpress

FilterPopupExcelEventArgs.ShowLikeFilters Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-filterpopupexceleventargs-8e8b107b.md

latest2.2 KB
Original Source

FilterPopupExcelEventArgs.ShowLikeFilters Property

Gets or sets whether to show the pattern-matching (Is Like, Is Not Like) operators for string values.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public bool ShowLikeFilters { get; set; }
vb
Public Property ShowLikeFilters As Boolean

Property Value

TypeDescription
Boolean

true , to show the pattern-matching operators; otherwise, false.

|

Remarks

The Is Like and Is Not Like operators allow end users to search for a specified pattern:

  • % — the percent sign replaces zero, one, or multiple characters;
  • _ — the underscore replaces a single character.

If the OptionsColumnFilter.PopupExcelFilterTextFilters property is set to AllFilters , the Excel style pop-up filter menu contains the pattern-matching (Is Like, Is Not Like) and relational (Greater Than, etc.) operators in the Text Filters tab.

The ShowLikeFilters property allows you to show/hide the pattern-matching operators.

See Also

PopupExcelFilterTextFilters

FilterPopupExcelEventArgs Class

FilterPopupExcelEventArgs Members

DevExpress.XtraGrid.Views.Grid Namespace