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

DataViewBase.SearchPanelClearOnClose Property

Gets or sets whether or not the search string is cleared when closing the Search Panel. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.Core.dll

Declaration

public bool SearchPanelClearOnClose { get; set; }

Property Value

Type Description
Boolean

true to clear the search string when closing the Search Panel; otherwise, false.

Remarks

If the DataViewBase.ShowSearchPanelMode property is set to ‘Default’, an end-user can show and hide the Search Panel on demand. To display the Search Panel, an end-user should press CTRL+F or select the ‘Show Search Panel’ item of a column’s context menu. To hide the Search Panel, an end-user should do one of the following: click theClose button (if visible), use ESC (the first press clears the search box; the second press closes the Search Panel) and select the ‘Hide Search Panel’ item of a column’s context menu.

See Also