Skip to main content

ColumnViewOptionsFind.HighlightFindResults Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.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
ColumnView
.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 snippet (auto-collected from DevExpress Examples) contains a reference 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