Back to Devexpress

VGridControlBase.FindFilterText Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-5320d060.md

latest2.6 KB
Original Source

VGridControlBase.FindFilterText Property

Gets or sets the query in the Find Panel.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[XtraSerializableProperty]
public string FindFilterText { get; set; }
vb
<Browsable(False)>
<XtraSerializableProperty>
Public Property FindFilterText As String

Property Value

TypeDescription
String

A String value that specifies the query in the Find Panel.

|

Remarks

Use the FindFilterText property to get the applied search/find query.

Use the ApplyFindFilter(String) and ClearFindFilter() methods to apply and discard a search/filter query in code. See Find Panel Syntax to learn how to build queries.

csharp
// Specify a query.
vGridControl1.ApplyFindFilter("foo");

// Discard the query.
vGridControl1.ClearFindFilter();
// You can also pass an empty string
// to discard the query.
vGridControl1.ApplyFindFilter(String.Empty);
vb
' Specify a query.
VGridControl1.ApplyFindFilter("foo")

' Discard the query.
VGridControl1.ClearFindFilter()
' You can also pass an empty string
' to discard the query.
VGridControl1.ApplyFindFilter(String.Empty)

See Also

Find Panel

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace