ColumnViewOptionsFilter.ColumnFilterPopupRowCount Property
Gets or sets the maximum number of items that regular filter dropdowns in columns, can display simultaneously.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v19.2.dll
Declaration
[DefaultValue(20)]
[XtraSerializableProperty]
public virtual int ColumnFilterPopupRowCount { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Int32 | 20 | An integer value specifying the maximum height of regular filter dropdowns. The height is specified in rows. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ColumnFilterPopupRowCount |
---|---|
AdvBandedGridView |
|
BandedGridView |
|
ColumnView |
|
CardView |
|
GridView |
|
LayoutView |
|
TileView |
|
WinExplorerView |
|
Remarks
The ColumnFilterPopupRowCount property can accept values between 4 and 100. If there are fewer items in the list than the value specified by this property, regular filter dropdowns are automatically resized to fit their content. If the number of items is greater than that specified, the filter dropdown displays a vertical scrollbar, so that all the items can be accessed.
The content of filter dropdowns can be controlled using the ColumnViewOptionsFilter.ColumnFilterPopupMaxRecordsCount property and the ColumnView.ShowFilterPopupListBox event.
Please refer to the Filter and Search topic for additional information.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnFilterPopupRowCount property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.