DashboardControl.LoadInactiveTabs Property
Gets or sets whether the control loads data for dashboard items on the initially inactive tab pages. This is a dependency property.
Namespace: DevExpress.DashboardWpf
Assembly: DevExpress.Dashboard.v24.2.Wpf.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true, to load data in the inactive tab pages; otherwise, false. |
Remarks
Slow application performance can be caused by prolonged data processing. You can disable data loading for inactive tab pages to speed up application load time. If you set the control’s LoadInactiveTabs
property to false, data is loaded only for the selected tab page during the first data loading. After that, when you select another tab page, the control loads data for all dashboard items on this page. Note that if an inactive tab page contains master-filter items, the filters are not applied until you switch to this tab page.
You can use the following API to identify the selected tab page:
- the DashboardControl.GetSelectedTabPage property;
- the DashboardItemState.TabPageName property when you apply the dashboard state with the DashboardControl.SetInitialDashboardState event.