Skip to main content
A newer version of this page is available.

DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, String) Constructor

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public DataSourcePropertyAttribute(
    string dataSourceProperty,
    DataSourcePropertyIsNullMode dataSourcePropertyIsNullMode,
    string dataSourcePropertyIsNullCriteria
)

Parameters

Name Type Description
dataSourceProperty String

A string value specifying the name of a collection property used as the data source for a List View displayed in a Lookup Property Editor or invoked by the LinkUnlinkController.LinkAction Action in a popup window.

dataSourcePropertyIsNullMode DataSourcePropertyIsNullMode

A DataSourcePropertyIsNullMode enumeration value specifying the display mode for the target property’s Lookup List View, if the DataSourcePropertyAttribute.DataSourceProperty is not specified.

dataSourcePropertyIsNullCriteria String

A string value specifying criteria for filtering the target property’s Lookup List View if the DataSourcePropertyAttribute.DataSourceProperty is not specified.

Remarks

If you need to set the DataSourcePropertyIsNullMode.SelectAll or DataSourcePropertyIsNullMode.SelectNothing display mode in the case where the property specified by the dataSourceProperty parameter is not set, use the constructor with two parameters.

If you are not going to process the situation when the property specified by the dataSourceProperty parameter is not specified, use the constructor with a single dataSourceProperty parameter.

See Also