ColumnBase.AllowAutoFilter Property
Gets or sets whether a user can use the automatic filter row to filter data by the column’s values. This is a dependency property.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(true, Handler = "OnAllowAutoFilterChanged")]
public bool AllowAutoFilter { get; set; }
#Property Value
Type | Description |
---|---|
Boolean | true to allow a user to use the automatic filter row to filter data by the column’s values; otherwise, false. |
#Remarks
The automatic filter row allows users to filter data. When a user types text in the row, the GridControl creates a filter condition based upon the value entered and applies it to the column.
The AllowAutoFilter property specifies whether users can use the automatic filter row to filter the column’s values. When you set this property to false, the GridControl disables the automatic filter row’s cell for this column.
Set the DataControlBase.ShowAutoFilterRow property to true to show the automatic filter row.
For more information, refer to the following help topic: Automatic Filter Row.