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

ResourceTreeControl.ShowSearchPanelMode Property

Gets or sets whether to display the search panel. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll

Declaration

public ShowSearchPanelMode ShowSearchPanelMode { get; set; }

Property Value

Type Description
ShowSearchPanelMode

A DevExpress.Xpf.Grid.ShowSearchPanelMode enumeration value. By default, HotKey

Available values:

Name Description
Default

Never if the GridControl is bound to a virtual source; otherwise, HotKey.

HotKey

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

The Close button (if displayed) hides the Search Panel.

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

Always

The Search Panel is always visible, it cannot be hidden by an end-user. The close button is hidden.

Never

The Search Panel is hidden and cannot be shown by the end-user.

Remarks

By default, an end-user can show and hide the search panel when required. To display the search panel, an end-user should press CTRL+F or select ‘Find’ context menu item. To hide the search panel, an end-user should click the Close button or press ESC (the first press clears the search box; the second press closes the search panel).

To display the search panel and prevent an end-user from hiding it, set the ShowSearchPanelMode property to ShowSearchPanelMode.Always. To hide the search panel and prevent an end-user from showing it, set the ShowSearchPanelMode property to ShowSearchPanelMode.Never.

See Also