RowProperties.FilterMode Property

Gets or sets whether display or edit values of this row used to filter the control's data.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[DefaultValue(ColumnFilterMode.Value)]
[XtraSerializableProperty]
public ColumnFilterMode FilterMode { get; set; }
<DefaultValue(ColumnFilterMode.Value)>
<XtraSerializableProperty>
Public Property FilterMode As ColumnFilterMode

Property Value

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.

Remarks

By default, values form 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.Format). In this case, you may also need to filter the control's data using the text displayed in cells, rather than the values from the data source. For this purpose, 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