ColumnViewOptionsFind.Condition Property

Gets or sets the condition according to which the Data Grid searches for the string entered into the Find Panel.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Data")]
[DefaultValue(FilterCondition.Default)]
[XtraSerializableProperty]
public virtual FilterCondition Condition { get; set; }
<DXCategory("Data")>
<DefaultValue(FilterCondition.Default)>
<XtraSerializableProperty>
Public Overridable Property Condition As FilterCondition

Property Value

Type Default Description
FilterCondition

Default

Specifies the filter condition.

Property Paths

You can access this nested property as listed below:

Show 11 property paths
Object Type Path to Condition
AdvBandedGridView
.OptionsFind.Condition
AdvBandedGridView
.OptionsFind.Condition
BandedGridView
.OptionsFind.Condition
BandedGridView
.OptionsFind.Condition
ColumnView
.OptionsFind.Condition
CardView
.OptionsFind.Condition
GridView
.OptionsFind.Condition
GridView
.OptionsFind.Condition
LayoutView
.OptionsFind.Condition
TileView
.OptionsFind.Condition
WinExplorerView
.OptionsFind.Condition

Remarks

The Condition property accepts the following values (run the "Find Panel" Demo Center module to test these modes).

  • FilterCondition.Default - inherits the global WindowsFormsSettings.FindPanelCondition property value.

  • FilterCondition.Contains - searches for all cells that contain the specified text, regardless of their position within the cell text.
    condition-contains

  • FilterCondition.StartsWith - searches for cells whose text starts with the searched string.
    condition-startswith

  • FilterCondition.Equals - searches for cells whose text is an exact match with the searched string.

  • FilterCondition.Like - allows users to enter the "%" character that is a wildcard for any number of characters.
    condition-startswith

See Also