LookUpEdit.PopupFilter Event
Allows you to explicitly set the expression to filter lookup items.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Event Data
The PopupFilter event's data class is DevExpress.XtraEditors.Controls.PopupFilterEventArgs.
Remarks
The code below illustrates how to show only records with “Brazil” in the “ShipCountry” field.
private void LookUpEdit1_PopupFilter(object sender, DevExpress.XtraEditors.Controls.PopupFilterEventArgs e)
{
e.Criteria = DevExpress.Data.Filtering.CriteriaOperator.Parse("ShipCountry == 'Brazil'");
}
See Also