DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, String[]) Constructor
Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty, DataSourcePropertyAttribute.DataSourcePropertyIsNullMode, and DataSourcePropertyAttribute.UsedProperties properties.
Namespace: DevExpress.Persistent.Base
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
public DataSourcePropertyAttribute(
string dataSourceProperty,
DataSourcePropertyIsNullMode mode,
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. |
| mode | 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. |
| usedProperties | String[] | An array of |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, 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.