A newer version of this page is available. Switch to the current version.

IModelCommonMemberViewItem.DataSourcePropertyIsNullMode Property

Specifies objects displayed in the current Lookup Property Editor, when the IModelMemberViewItem.DataSourceProperty property is null (Nothing in VB).

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

DataSourcePropertyIsNullMode DataSourcePropertyIsNullMode { get; set; }

Property Value

Type Description
DataSourcePropertyIsNullMode

A DataSourcePropertyIsNullMode enumeration value specifying objects displayed in the current Lookup Property Editor, when the DataSourceProperty property is null.

Available values:

Name Description
SelectNothing

Specifies that the property’s Lookup List View is bound to an empty collection.

SelectAll

Specifies that the property’s Lookup List View is bound to a collection of all existing persistent objects of the property’s type.

CustomCriteria

Specifies that the Lookup List View is bound to a collection containing the objects that satisfy the criteria. The criteria should be specified by the DataSourcePropertyAttribute.DataSourcePropertyIsNullCriteria parameter of the DataSourcePropertyAttribute.

Remarks

This property is considered when the DataSourcePropertyAttribute is applied to the current Property Editor.

See Also