Skip to main content

GridControl.AutoFilterPanelVisibility Property

Gets or sets whether the auto-filter panel is displayed in the grid. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

[XtraSerializableProperty]
public bool AutoFilterPanelVisibility { get; set; }

Property Value

Type Description
Boolean

true, to display the auto-filter panel; otherwise, false.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The auto-filter panel allows end-users to filter data on the fly. When an end-user types text inside a cell in the panel, a filter condition is created based upon the entered value and applied to the column. To remove a filter, an end-user can clear the text from the auto-filter panel.

By default, the auto-filter panel is hidden. To display it under column headers in the grid, set the AutoFilterPanelVisibility property to true.

Grid_GettingStarted_Lesson7_Result_iOS

Grid_GettingStarted_Lesson7_Result_Android_Dark

You can use the following properties to specify the auto-filter panel settings.

  • Availability

    To specify whether column values can be filtered using the auto-filter panel, use the GridColumn.AllowAutoFilter property. If this property is set to false, the corresponding cell within the auto-filter panel is disabled.

  • Comparison Operator Type

    To specify the comparison operator type (Contains, Equals or Like), use the GridColumn.AutoFilterCondition property.

  • Data

    To obtain or set a value in the auto-filter panel for a column, use the corresponding column’s GridColumn.AutoFilterValue property.

  • Auto Update Filters

    By default, when an end-user modifies the text within the auto filter panel’s cell, the filter condition for this column is updated immediately. To disable automatic updates, set the column’s GridColumn.ImmediateUpdateAutoFilter property to false. In this instance, an end-user should move focus to another cell to force updates.

See Also