GridOptionsFilter.ShowInHeaderSearchResults Property
Gets or sets whether to display search results within the column header when InHeaderSearchMode is enabled.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DefaultValue(ShowInHeaderSearchResultsMode.Default)]
[XtraSerializableProperty]
public virtual ShowInHeaderSearchResultsMode ShowInHeaderSearchResults { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.XtraGrid.Views.Grid.ShowInHeaderSearchResultsMode | Default | A value that specifies whether to display search results within the column header. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowInHeaderSearchResults |
---|---|
GridView |
|
Remarks
Set the ShowInHeaderSearchResults
property to ShowInHeaderSearchResultsMode.TextAndPosition
and InHeaderSearchMode to GridInHeaderSearchMode.TextSearch
to display the search string and the number of results found in the column header (see the screenshot below).
See Also