DashboardViewer.UseDataAccessApi Property
OBSOLETE
This property is now obsolete. You no longer need to set it to true in order to use data access API.
Gets or sets whether to enable the capability to access the client and underlying data.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
Declaration
[Browsable(false)]
[DefaultValue(false)]
[Obsolete("This property is now obsolete. You no longer need to set it to true in order to use data access API.")]
public bool UseDataAccessApi { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to enable the capability to access the client and underlying data; otherwise, false. |
Remarks
Use the UseDataAccessApi property to enable the capability that allows you to obtain the client or underlying data for specific dashboard items. For instance, you can obtain the underlying data using the DashboardViewer.GetUnderlyingData method or client data via the DashboardViewer.GetItemData method.
You can also access underlying and client data when handling the following events.
- DashboardViewer.DashboardItemClick
- DashboardViewer.DashboardItemDoubleClick
- DashboardViewer.DashboardItemMouseDown
- DashboardViewer.DashboardItemMouseUp