Back to Devexpress

BaseView.Synchronize(BaseView, SynchronizationMode) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-dot-synchronize-x28-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-devexpress-dot-xtragrid-dot-views-dot-base-dot-synchronizationmode-x29.md

latest2.6 KB
Original Source

BaseView.Synchronize(BaseView, SynchronizationMode) Method

Copies the specified settings of a View to the current View.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public virtual void Synchronize(
    BaseView viewSource,
    SynchronizationMode mode
)
vb
Public Overridable Sub Synchronize(
    viewSource As BaseView,
    mode As SynchronizationMode
)

Parameters

NameTypeDescription
viewSourceBaseView

A BaseView descendant specifying the View whose settings are copied to the current View.

| | mode | DevExpress.XtraGrid.Views.Base.SynchronizationMode |

A SynchronizationMode enumeration value specifying whether data representation settings, visual settings or both should be copied.

|

Remarks

Based on the mode parameter value this method calls its overload, BaseView.SynchronizeVisual or BaseView.SynchronizeData method.

This method is intended for internal use only, so you do not need to call it from your code.

See Also

SynchronizeClones

SynchronizeData(BaseView)

SynchronizeVisual(BaseView)

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace