Skip to main content
All docs
V24.2
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, String, String[]) Constructor

In This Article

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public DataSourcePropertyAttribute(
    string dataSourceProperty,
    DataSourcePropertyIsNullMode dataSourcePropertyIsNullMode,
    string dataSourcePropertyIsNullCriteria,
    params string[] usedProperties
)

#Parameters

Name Type Description
dataSourceProperty String

A string value that specifies 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 that specifies the display mode for the target property’s Lookup List View, if the DataSourcePropertyAttribute.DataSourceProperty is not specified.

dataSourcePropertyIsNullCriteria String

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

usedProperties String[]

An array of System.String values that specify properties whose values are used to calculate the data source property’s return value.

See Also