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
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataSourcePropertyAttribute(String) constructor.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.