DynamicListLookUpSettings.DataMember Property
Gets or sets a specific data member in a dashboard data source.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
Declaration
[LocalizableCategory(DataAccessStringId.PropertyGridDataCategoryName)]
[DefaultValue(null)]
public string DataMember { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | *null* | A String value that specifies a data member in a dashboard data source. |
Remarks
Use the DynamicListLookUpSettings.DataSource property to specify the data source for the dashboard parameter. To access the collection of existing dashboard data sources, use the Dashboard.DataSources property.
Note that the DataMember property is in effect for the DashboardSqlDataSource and DashboardEFDataSource only. For SQL data sources, the data member is a query used to select a specific subset of data. Use the SqlDataSource.Queries property to obtain the available data source queries. Then, assign the name of the required query (SqlQuery.Name) to the DataMember property to bind the dashboard item to this query.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataMember property.
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.