Skip to main content
.NET 6.0+

DataSourcePropertyAttribute.DataSourcePropertyIsNullCriteria Property

Indicates criteria for filtering the List View of the target property’s Lookup Property Editor, in case the DataSourcePropertyAttribute.DataSourceProperty is not specified.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public string DataSourcePropertyIsNullCriteria { get; }

Property Value

Type Description
String

A string value that represents criteria for filtering the List View of the target property’s Lookup Property Editor.

Remarks

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

To learn how to specify criteria via the DataSourcePropertyAttribute, refer to the How to: Implement Cascading Filtering for Lookup List Views topic. The common rules of writing a criteria are described in the Ways to Build Criteria topic. Additionally, you can use Function Criteria Operators as well as the Current Object Parameter in the criteria.

See Also