Back to Devexpress

ShowInHeaderSearchTextMode Enum

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-c751a0af.md

latest2.8 KB
Original Source

ShowInHeaderSearchTextMode Enum

Enumerates values that specify whether to show search text in column header tooltips.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public enum ShowInHeaderSearchTextMode
vb
Public Enum ShowInHeaderSearchTextMode

Members

NameDescription
Default

Equivalent to the Text option.

| | Text |

A column header tooltip contains the hovered column’s caption. In this mode, the tooltip is only displayed if the column caption is truncated.

| | Tooltip |

A column header tooltip contains the column caption and search text (GridColumn.SearchText).

|

The following properties accept/return ShowInHeaderSearchTextMode values:

Remarks

Use the GridView.OptionsFilter.InHeaderSearchMode property to enable built-in search boxes within the View’s column headers. Users can type text in the search boxes to filter against the columns.

Set the GridView.OptionsFilter.ShowInHeaderSearchTextMode property to Tooltip to display a column’s search text (GridColumn.SearchText) in the column header’s tooltip.

See Also

ShowInHeaderSearchTextMode

AllowInHeaderSearch

DevExpress.XtraGrid.Views.Grid Namespace