DataControlBase.ShowFilterPanelMode Property
Gets or sets when the Filter Panel is displayed within a grid. This is a dependency property.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v22.1.dll
NuGet Package: DevExpress.WinUI
Declaration
[DP(ShowFilterPanelMode.Default, Handler = "UpdateFilterPanel")]
public ShowFilterPanelMode ShowFilterPanelMode { get; set; }
Property Value
Type | Description |
---|---|
ShowFilterPanelMode | A ShowFilterPanelMode enumeration value that specifies when a grid displays the Filter Panel. |
Available values:
Name | Description |
---|---|
Default | The filter panel is shown when data is filtered. Otherwise, the filter panel is hidden. |
ShowAlways | The filter panel is always shown at the bottom of the grid. |
Never | The filter panel is hidden. |
Remarks
By default, the Filter Panel is automatically shown at the bottom of the grid after a filter has been applied. Removing the filter hides this panel. The filter panel displays a string which specifies the current filter criteria, and contains buttons to disable/enable and clear the filter. To make this panel always visible or always hidden, use the ShowFilterPanelMode property.
To learn more, see Filtering and Searching.