dashboard-devexpress-dot-dashboardcommon-dot-dashboard-ef81b7b7.md
Locks the Dashboard object by preventing updates until the Dashboard.EndUpdate method is called.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public void BeginUpdate()
Public Sub BeginUpdate
Note that the Dashboard Viewers’ API should not be used between the BeginUpdate /Dashboard.EndUpdate method calls.
The following code snippets (auto-collected from DevExpress Examples) contain references to the BeginUpdate() method.
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.
winforms-dashboard-designer-merge-dashboards-to-tabs/CS/DesignerForm.cs#L31
if(openFileDialog.ShowDialog() == DialogResult.OK) {
dashboardDesigner.Dashboard.BeginUpdate();
try {
winforms-dashboard-create-layout-from-scratch/CS/Dashboard_LayoutCustomization/Form1.cs#L23
dashboard.LoadFromXml(@"Data\LayoutUnordered.xml");
dashboard.BeginUpdate();
// Switch off the DateFilter item's AutoHeight arrangement mode so that the DateFilter layout does not ignore its layout weight.
winforms-dashboard-designer-merge-dashboards-to-tabs/VB/DesignerForm.vb#L32
If openFileDialog.ShowDialog() = DialogResult.OK Then
dashboardDesigner.Dashboard.BeginUpdate()
Try
winforms-dashboard-create-layout-from-scratch/VB/Dashboard_LayoutCustomization/Form1.vb#L21
dashboard.LoadFromXml("Data\LayoutUnordered.xml")
dashboard.BeginUpdate()
' Switch off the DateFilter item's AutoHeight arrangement mode so that the DateFilter layout does not ignore its layout weight.
See Also