Back to Devexpress

ColumnViewOptionsFilter.ColumnFilterPopupRowCount Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfilter-1a954c6c.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(20)]
[XtraSerializableProperty]
public virtual int ColumnFilterPopupRowCount { get; set; }
vb
<DefaultValue(20)>
<XtraSerializableProperty>
Public Overridable Property ColumnFilterPopupRowCount As Integer

Property Value

TypeDefaultDescription
Int3220

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 TypePath to ColumnFilterPopupRowCount
ColumnView

.OptionsFilter .ColumnFilterPopupRowCount

|

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.

See Also

ColumnFilterPopupMaxRecordsCount

ShowFilterPopupListBox

Filter and Search

ColumnViewOptionsFilter Class

ColumnViewOptionsFilter Members

DevExpress.XtraGrid.Views.Base Namespace