OptionsColumnFilter.AllowAutoFilter Property
Gets or sets whether the column’s values can be filtered using the auto filter row.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowAutoFilter { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if the column’s values can be filtered using the automatic filtering row; otherwise, false. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Allow |
---|---|
Grid |
|
#Remarks
If the View’s GridOptionsView.ShowAutoFilterRow option is set to true the automatic filtering row can be used to filter data against specific columns. If however a column’s AllowAutoFilter property is set to false its data cannot be filtered via this row (the auto filter row’s cell for this column will be disabled).