GridOptionsView.ShowAutoFilterRow Property

Gets or sets whether the auto filter row is displayed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool ShowAutoFilterRow { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property ShowAutoFilterRow As Boolean

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
AdvBandedGridView
.OptionsView.ShowAutoFilterRow
AdvBandedGridView
.OptionsView.ShowAutoFilterRow
BandedGridView
.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;
See Also