Back to Devexpress

OptionsColumnFilter.PopupExcelFilterNumericValuesTabFilterType Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumnfilter-0b34a9bd.md

latest4.7 KB
Original Source

OptionsColumnFilter.PopupExcelFilterNumericValuesTabFilterType Property

Gets or sets the type of UI displayed in the Values tab of the Excel-inspired filter dropdown (if the current column is of a numeric data type).

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(ExcelFilterNumericValuesTabFilterType.Default)]
[XtraSerializableProperty]
public virtual ExcelFilterNumericValuesTabFilterType PopupExcelFilterNumericValuesTabFilterType { get; set; }
vb
<DefaultValue(ExcelFilterNumericValuesTabFilterType.Default)>
<XtraSerializableProperty>
Public Overridable Property PopupExcelFilterNumericValuesTabFilterType As ExcelFilterNumericValuesTabFilterType

Property Value

TypeDefaultDescription
DevExpress.XtraGrid.Columns.ExcelFilterNumericValuesTabFilterTypeDefault

The value that specifies the type of UI in the Values tab of the Excel-inspired filter dropdown.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PopupExcelFilterNumericValuesTabFilterType
GridColumn

.OptionsFilter .PopupExcelFilterNumericValuesTabFilterType

|

Remarks

For numeric columns, the Values tab in the Excel-inspired filter dropdown can display a list or as a range track bar. You can set the PopupExcelFilterNumericValuesTabFilterType property to List or Range to explicitly apply corresponding display mode:

ListRange

If PopupExcelFilterNumericValuesTabFilterType is set to Default , the filter control type depends on the following conditions:

ConditionFilter Control
The column’s in-place editor is one of the following: ImageComboBox (RepositoryItemImageComboBox), RadioGroup (RepositoryItemRadioGroup), PopupContainerEdit (RepositoryItemPopupContainerEdit), or LookUpEdit (RepositoryItemLookUpEditBase descendants).List
The column’s GridColumn.FilterMode property is set to DisplayText.List
The column’s bound field is marked with the KeyAttribute (e.g., System.ComponentModel.DataAnnotations.KeyAttribute ).List
The column’s bound field ends with “id” (case-insensitive comparison) and is of the int, uint, long, ulong, GUID or IntPtr data type.List
The column’s bound field is marked with the DevExpress.Utils.Filtering.FilterLookup attribute.List
The column’s bound field is marked with the DevExpress.Utils.Filtering.FilterRange attributeRange

To learn more about the DevExpress.Utils.Filtering.FilterLookup and DevExpress.Utils.Filtering.FilterRange attributes, see Filtering Attributes.

See Also

Filter and Search

Filtering Attributes

OptionsColumnFilter Class

OptionsColumnFilter Members

DevExpress.XtraGrid.Columns Namespace