DataControlBase.SearchPanelHighlightSettings Property
In This Article
Gets or sets settings applied to search results.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(null, Handler = "OnSearchPanelHighlightingSettingsChanged")]
public SearchPanelHighlightSettings SearchPanelHighlightSettings { get; set; }
#Property Value
Type | Description |
---|---|
Search |
Settings applied to search results. |
#Remarks
SearchPanelHighlightSettings include the following properties:
Property | Description |
---|---|
Font |
Gets or sets a search result’s font family. |
Font |
Gets or sets a search result’s font size. |
Font |
Gets or sets a search result’s font style. |
Font |
Gets or sets a search result’s font weight. |
Foreground | Gets or sets a brush that paints a search result’s foreground. |
#Example
<dxg:GridControl ...>
<dxg:GridControl.SearchPanelHighlightSettings>
<dxg:SearchPanelHighlightSettings Foreground="Orange" FontSize="16"/>
</dxg:GridControl.SearchPanelHighlightSettings>
</dxg:GridControl>
See Also