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

DataControlBase.SearchPanelHighlightSettings Property

Gets or sets settings applied to search results.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "OnSearchPanelHighlightingSettingsChanged")]
public SearchPanelHighlightSettings SearchPanelHighlightSettings { get; set; }

Property Value

Type Description
SearchPanelHighlightSettings

Settings applied to search results.

Remarks

SearchPanelHighlightSettings include the following properties:

Property Description
FontFamily Gets or sets a search result’s font family.
FontSize Gets or sets a search result’s font size.
FontStyle Gets or sets a search result’s font style.
FontWeight Gets or sets a search result’s font weight.
Foreground Gets or sets a brush that paints a search result’s foreground.

Example

WinUI Data Grid - Customize Search Results

<dxg:GridControl ...>
    <dxg:GridControl.SearchPanelHighlightSettings>
        <dxg:SearchPanelHighlightSettings Foreground="Orange" FontSize="16"/>
    </dxg:GridControl.SearchPanelHighlightSettings>
</dxg:GridControl>
See Also