DataViewBase.ShowSearchPanelMode Property

Gets or sets a value that specifies when the Search Panel is displayed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public ShowSearchPanelMode ShowSearchPanelMode { get; set; }
Public Property ShowSearchPanelMode As ShowSearchPanelMode

Property Value

Type Description
ShowSearchPanelMode

A ShowSearchPanelMode enumeration member that specifies when the Search Panel is displayed.

Remarks

TIP

Topic: Search

Set the ShowSearchPanelMode property to ShowSearchPanelMode.Always to always display the Search Panel.

Set the ShowSearchPanelMode property to ShowSearchPanelMode.Never to prohibit users from displaying the Search Panel.

TIP

Demos:

Requires installation of WPF Subscription. Download

To display the Search Panel, a user should do one of the following:

  • Press Ctrl + F.
  • Click the Show Seacrh Panel button ( ).
  • Select the Show Search Panel item in a column's context menu.

To hide the Search Panel, a user should do one of the following:

  • Press Esc (the first press clears the search box; the second press closes the Search Panel).
  • Click the Close button ( ).
  • Select the Hide Search Panel item in a column's context menu.

To move focus from the Search Panel to the grid's data area, a user should press Down Arrow.

To show the MRU search drop-down list, a user should press Alt + Down Arrow.

See Also