Back to Devexpress

BaseView.EndUpdate() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-7b4afcb6.md

latest5.1 KB
Original Source

BaseView.EndUpdate() Method

Unlocks the BaseView object after a call to the BeginUpdate method and causes an immediate visual update.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public void EndUpdate()
vb
Public Sub

Remarks

See BaseView.BeginUpdate to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the EndUpdate() 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-preserve-grid-state-on-refresh/CS/RefreshHelperClass.cs#L156

csharp
finally {
    view.EndUpdate();
}

winforms-grid-multiple-row-selection-web-style-checkboxes/CS/E1271/CheckMarkSelection.cs#L137

csharp
finally {
    view.EndUpdate();
}

winforms-grid-multi-cell-editing/CS/MultiSelectionEditingHelper.cs#L79

csharp
catch(Exception ex) { }
    finally { view.EndUpdate(); }
}

create-a-federated-data-source-at-runtime/CS/FederationDataSourceExample/Form1.cs#L38

csharp
gridControl1.DataSource = FederationDataSourceHelper.DataSource;
gridView1.EndUpdate();
gridView1.ExpandMasterRow(0);

winforms-grid-add-radio-group-column/CS/Helper/GridRadioGroupColumnHelper.cs#L65

csharp
InitRepositoryItem();
    _GridView.EndUpdate();
}

winforms-preserve-grid-state-on-refresh/VB/RefreshHelperClass.vb#L165

vb
Finally
    view.EndUpdate()
End Try

winforms-grid-multiple-row-selection-web-style-checkboxes/VB/E1271/CheckMarkSelection.vb#L164

vb
Finally
    view.EndUpdate()
End Try

winforms-grid-multi-cell-editing/VB/MultiSelectionEditingHelper.vb#L70

vb
Finally
    view.EndUpdate()
End Try

create-a-federated-data-source-at-runtime/VB/FederationDataSourceExample/Form1.vb#L34

vb
gridControl1.DataSource = FederationDataSourceHelper.DataSource
gridView1.EndUpdate()
gridView1.ExpandMasterRow(0)

winforms-grid-add-radio-group-column/VB/Helper/GridRadioGroupColumnHelper.vb#L67

vb
InitRepositoryItem()
    _GridView.EndUpdate()
End Sub

See Also

BeginUpdate()

LayoutChanged()

Batch Modifications

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace