DynamicListLookUpSettings.DataSource Property
Gets or sets the data source for the dashboard parameter.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v20.2.Core.dll
NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core
Declaration
[DefaultValue(null)]
[LocalizableCategory(DataAccessStringId.PropertyGridDataCategoryName)]
public IDashboardDataSource DataSource { get; set; }
Property Value
Type | Default | Description |
---|---|---|
IDashboardDataSource | *null* | An object implementing the IDashboardDataSource interface that specifies a data source data source for the dashboard parameter. |
Remarks
Use the DynamicListLookUpSettings.ValueMember and DynamicListLookUpSettings.DisplayMember properties to specify the data member for the dashboard parameter’s value and display name.
Note
Note that the DynamicListLookUpSettings.DataMember property should be specified for the DashboardSqlDataSource or DashboardEFDataSource.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataSource 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.