Back to Devexpress

GridView.SynchronizeData(BaseView) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-dot-synchronizedata-x28-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-x29.md

latest2.4 KB
Original Source

GridView.SynchronizeData(BaseView) Method

Synchronizes a View’s data representation settings with the specified View.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public override void SynchronizeData(
    BaseView viewSource
)
vb
Public Overrides Sub SynchronizeData(
    viewSource As BaseView
)

Parameters

NameTypeDescription
viewSourceBaseView

A BaseView descendant representing the View whose data representation settings should be copied to the current View.

|

Remarks

This method overrides the ColumnView.SynchronizeData method to implement synchronization of data representation settings specific to Grid Views. The SynchronizeData method forces the current View to have the same data layout as the View specified by the method parameter. This includes copying summary settings, applied filter conditions, etc.

The method is used internally. Generally, you will have no need to call it in your applications.

See Also

Synchronize

SynchronizeClones

SynchronizeVisual(BaseView)

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace