Skip to main content
A newer version of this page is available. .

ColumnViewOptionsFind.HighlightFindResults Property

Gets or sets whether the search string is highlighted within located records.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool HighlightFindResults { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the search string is highlighted within located records; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to HighlightFindResults
AdvBandedGridView
.OptionsFind.HighlightFindResults
BandedGridView
.OptionsFind.HighlightFindResults
ColumnView
.OptionsFind.HighlightFindResults
CardView
.OptionsFind.HighlightFindResults
GridView
.OptionsFind.HighlightFindResults
LayoutView
.OptionsFind.HighlightFindResults
TileView
.OptionsFind.HighlightFindResults
WinExplorerView
.OptionsFind.HighlightFindResults

Remarks

The following applies to a SearchLookUpEdit control, which represents a control embedding a Grid Control and Find Panel in its dropdown. Options provided by the ColumnViewOptionsFind class are also in effect for the SearchLookUpEdit control and can be accessed via the SearchLookUpEdit.Properties.View.OptionsFind property. Setting the HighlightFindResults option to false is not in effect when the SearchLookUpEdit’s RepositoryItemGridLookUpEditBase.PopupFilterMode property is set to Contains or StartsWith.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HighlightFindResults 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.

See Also