Skip to main content

BaseView.Synchronize(BaseView, SynchronizationMode) Method

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

public virtual void Synchronize(
    BaseView viewSource,
    SynchronizationMode mode
)

Parameters

Name Type Description
viewSource BaseView

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