Back to Devexpress

IModelCommonMemberViewItem.DataSourcePropertyIsNullMode Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelcommonmemberviewitem-1cf8ac92.md

latest2.9 KB
Original Source

IModelCommonMemberViewItem.DataSourcePropertyIsNullMode Property

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

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[ModelBrowsable(typeof(ListEditorsVisibilityCalculator))]
DataSourcePropertyIsNullMode DataSourcePropertyIsNullMode { get; set; }
vb
<ModelBrowsable(GetType(ListEditorsVisibilityCalculator))>
Property DataSourcePropertyIsNullMode As DataSourcePropertyIsNullMode

Property Value

TypeDescription
DataSourcePropertyIsNullMode

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

|

Available values:

NameDescription
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

DataSourcePropertyIsNullCriteria

IModelCommonMemberViewItem Interface

IModelCommonMemberViewItem Members

DevExpress.ExpressApp.Model Namespace