DataSourceCriteriaAttribute.DataSourceCriteria Property

Returns criteria for filtering the List View displayed in a Lookup Property Editor or invoked by the LinkUnlinkController.LinkAction Action in a popup window.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public string DataSourceCriteria { get; }
Public ReadOnly Property DataSourceCriteria As String

Property Value

Type Description
String

A string value representing criteria for filtering the List View displayed in a Lookup Property Editor or invoked by the LinkUnlinkController.LinkAction Action in a popup window.

The common rules of writing a criteria are described in the Ways to Build Criteria topic. Note that you can use Function Criteria Operators and Current Object Parameterin your criteria.

You can change the criteria specified in code via the BOModel | <Class> | OwnMembers | <Member> node's IModelCommonMemberViewItem.DataSourceCriteria property in the Model Editor.

See Also