Skip to main content

GridOptionsView.ShowAutoFilterRow Property

Gets or sets whether the auto filter row is displayed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.1.dll

NuGet Package: DevExpress.Win.Grid


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


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;
See Also