LookUpEditBase.FilterCriteria Property

Gets or sets the filter expression applied to the LookUpEditBase.ItemsSource. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.2.dll


public CriteriaOperator FilterCriteria { get; set; }

Property Value

Type Description

A CriteriaOperator descendant that represents an external filter expression.


The LookUpEdit control can filter data from an ItemSource before displaying. You can use the FilterCriteria property to set a Filter Expression. You can create your filter expression when the editor's ItemSource is a complex type object (it has its own properties). i.e., Contains([SomeProperty], '123')

You can use the DisplayColumn value to create a filter expression when the editor's item source is a simple objects collection:

LookUpEdit.FilterCriteria = new FunctionOperator(
  new OperandProperty("DisplayColumn"), 
  new OperandValue("ask0")


For more information on how to create filter expressions, see Criteria Language Syntax and Creating Criteria.

See Also