Skip to main content
A newer version of this page is available. .

GridOptionsView.ShowAutoFilterRow Property

Gets or sets whether the auto filter row is displayed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool ShowAutoFilterRow { get; set; }

Property Value

Type Default Description
Boolean **false**

true to display the auto filter row; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowAutoFilterRow
AdvBandedGridView
.OptionsView.ShowAutoFilterRow
BandedGridView
.OptionsView.ShowAutoFilterRow
GridView
.OptionsView.ShowAutoFilterRow

Remarks

Use the ShowAutoFilterRow property to show/hide the automatic filtering row. To allow users to change the filter condition, use the AllowAutoFilterConditionChange preperty. To specify the filter condition in code, use the AutoFilterCondition preperty.

WindowsFormsSettings.AllowAutoFilterConditionChange = DevExpress.Utils.DefaultBoolean.True;
gridView1.OptionsFilter.AllowAutoFilterConditionChange = DevExpress.Utils.DefaultBoolean.False;

gridView1.OptionsView.ShowAutoFilterRow = true;
colAddress.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.BeginsWith;

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowAutoFilterRow property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also