windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-rowproperties-02cedf59.md
Gets or sets whether display or edit values of this row are used to filter the control’s data.
Namespace : DevExpress.XtraVerticalGrid.Rows
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
[DefaultValue(ColumnFilterMode.Value)]
[XtraSerializableProperty]
public ColumnFilterMode FilterMode { get; set; }
<DefaultValue(ColumnFilterMode.Value)>
<XtraSerializableProperty>
Public Property FilterMode As ColumnFilterMode
| Type | Default | Description |
|---|---|---|
| ColumnFilterMode | Value |
A ColumnFilterMode enumeration value that specifies whether display or edit values of this row are used to filter the control’s data.
|
Available values:
| Name | Description |
|---|---|
| Value |
A column’s data is filtered by the edit values.
| | DisplayText |
A column’s data is filtered by the display text.
|
By default, values from the underlying data source are used to filter the control’s data from the filter dropdown. However, cell values can be formatted using a custom format (see RowProperties.DisplayFormat). To filter the control’s data by display text rather than data source values, set the FilterMode property to DisplayText.
To filter non-string column values with string operators (“Contains”, “Starts With”, and others), set FilterMode to DisplayText. This approach is also applicable to other DevExpress data-aware controls (Gantt Control, Data Grid, TreeList).
See Also