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

DataControlBase.ShowSearchPanelMode Property

Gets or sets when the Search Panel is shown within the grid. This is a dependency property.

Namespace: DevExpress.WinUI.Grid

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

NuGet Package: DevExpress.WinUI

Declaration

[DP(ShowSearchPanelMode.Default, Handler = "OnShowSearchPanelModePropertyChanged")]
public ShowSearchPanelMode ShowSearchPanelMode { get; set; }

Property Value

Type Description
ShowSearchPanelMode

A ShowSearchPanelMode enumeration value.

Available values:

Name Description
Default

The Search Panel is hidden.

CTRL+F - Invokes the Search Panel. Ensure that no cell editor is opened before invoking the Search Panel. Otherwise, the shortcut is intercepted by the in-place editor.

ESC - Clears the search box. If the search box is empty, pressing ESC closes the Search Panel.

Always

The Search Panel is always visible. Users cannot hide this panel.

Never

The Search Panel is always hidden. Users cannot show this panel.

Remarks

If the GridControl.ShowGroupPanel property is set to true, the Search Panel is displayed in the Group Panel.

Refer to the following help topic for more information: Search Data.

See Also