ColumnView.FindFilterText Property
Gets or sets the query in the Find Panel.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
[Browsable(false)]
[XtraSerializableProperty(1010)]
[XtraSerializablePropertyId(3)]
public string FindFilterText { get; set; }
Property Value
Type | Description |
---|---|
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.
// Specify a query.
gridView1.ApplyFindFilter("foo");
// Discard the query.
gridView1.ClearFindFilter();
// You can also pass an empty string
// to discard the query.
gridView1.ApplyFindFilter(String.Empty);
See Also