Back to Devexpress

DataSourcePropertyAttribute.DataSourcePropertyIsNullCriteria Property

expressappframework-devexpress-dot-persistent-dot-base-dot-datasourcepropertyattribute-99668050.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public string DataSourcePropertyIsNullCriteria { get; }
vb
Public ReadOnly Property DataSourcePropertyIsNullCriteria As String

Property Value

TypeDescription
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

DataSourcePropertyAttribute Class

DataSourcePropertyAttribute Members

DevExpress.Persistent.Base Namespace