Back to Devexpress

VGridOptionsFind.ClearFindOnClose Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-vgridoptionsfind-581191b5.md

latest3.1 KB
Original Source

VGridOptionsFind.ClearFindOnClose Property

Gets or sets whether the Find Panel‘s search (filter) string is cleared when the Find Panel is hidden.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ClearFindOnClose { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ClearFindOnClose As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the Find Panel’s search string is cleared on hiding the panel; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ClearFindOnClose
VGridControlBase

.OptionsFind .ClearFindOnClose

|

Remarks

If the ClearFindOnClose property is enabled, the Find Panel’s search string (VGridControlBase.FindFilterText) is cleared on hiding the panel.

An end-user can hide the Find Panel by clicking the close (‘x’) button, provided that the VGridOptionsFind.ShowCloseButton property is set to true and the VGridOptionsFind.Visibility property is set to Default. In code, the Find Panel can be hidden via the VGridControlBase.HideFindPanel method.

See Also

FindFilterText

ShowCloseButton

Visibility

HideFindPanel()

Find Panel

VGridOptionsFind Class

VGridOptionsFind Members

DevExpress.XtraVerticalGrid.Rows Namespace