RepositoryItemLookUpEdit.PopupFilter Event
Allows you to provide a custom filter criteria.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The PopupFilter event's data class is DevExpress.XtraEditors.Controls.PopupFilterEventArgs.
Remarks
The PopupFilter event allows you to provide a custom filter criteria for data in the editor’s popup window. When handling this event, create a criteria in code and assign it to the Criteria event argument. See an example below.
private void lookUpEdit1_Properties_PopupFilter(object sender, DevExpress.XtraEditors.Controls.PopupFilterEventArgs e) {
e.Criteria = DevExpress.Data.Filtering.CriteriaOperator.Parse("ShipCountry == 'Brazil'");
}
See Also