The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataSourcePropertyAttribute(String) Constructor

Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty property.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public DataSourcePropertyAttribute(
    string dataSourceProperty
)
Public Sub New(
    dataSourceProperty As String
)

Parameters

Name Type Description
dataSourceProperty String

A string value representing the name of a business class collection property which serves as a source for the Lookup Property Editor of the target Object type business class property.

Remarks

You can specify the data source for the Lookup Property Editor's List View in case the property specified by the dataSourceProperty parameter is not set. For this purpose, use a constructor with the DataSourcePropertyAttribute.DataSourcePropertyIsNullMode and \ or DataSourcePropertyAttribute.DataSourcePropertyIsNullCriteria parameters.

See Also