DataSourcePropertyAttribute.DataSourcePropertyIsNullMode Property

Specifies the Lookup Property Editor's data source, in case the collection property specified by the DataSourcePropertyAttribute.DataSourceProperty is set to null (Nothing in VB).

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.1.dll


public DataSourcePropertyIsNullMode DataSourcePropertyIsNullMode { get; }


Type Description

A DataSourcePropertyIsNullMode enumeration value that specifies the Lookup Property Editor's data source.

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

To learn how to specify the Lookup Property Editor's data source via the DataSourcePropertyAttribute, refer to the Filter Lookup Editor Data Source topic.