DataSourcePropertyAttribute(String) Constructor

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

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

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

Parameters

Type Name Description
String dataSourceProperty

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.

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