DataControlBase.FilterString Property
Gets or sets the grid's filter expression. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[CloneDetailMode(CloneDetailMode.Skip)]
[XtraSerializableProperty(2147483645)]
[GridUIProperty]
public string FilterString { get; set; }
#Property Value
Type | Description |
---|---|
String | A String value that specifies the grid's filter expression. |
#Remarks
The filter expression specified by the FilterString property can consist of multiple conditions applied to multiple columns. Setting the FilterString property to a new value clears any filters that have been previously applied. The DataControlBase.GetColumnFilterString method allows you to obtain the filter expression applied to an individual column.
The grid's filter can also be specified using the DataControlBase.FilterCriteria property.
For detailed information and examples, see Filtering Overview and Filtering in Code.