Back to Devexpress

DataViewBase.SearchPanelClearOnClose Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-9a804a6c.md

latest2.1 KB
Original Source

DataViewBase.SearchPanelClearOnClose Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool SearchPanelClearOnClose { get; set; }
vb
Public Property SearchPanelClearOnClose As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

Tip

Topic : Search

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 the Close 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

ShowSearchPanelCloseButton

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace