This example demonstrates how to bind a dashboard to a List object.
The dashboard is created at runtime and assigned to the DashboardControl.DashboardSource property within the Window_Loaded event handler. The data source is initialized and assigned within the DashboardControl.AsyncDataLoading event to the e.DataSourceName property.
Use the DashboardControl.ReloadData method to refresh the data.
To handle security risks when loading an object data source, specify the DashboardControl.ObjectDataSourceLoadingBehavior property.