Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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