Back to Devexpress

GridView.SynchronizeVisual(BaseView) Method

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

latest2.3 KB
Original Source

GridView.SynchronizeVisual(BaseView) Method

Synchronizes a View’s display 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 SynchronizeVisual(
    BaseView viewSource
)
vb
Public Overrides Sub SynchronizeVisual(
    viewSource As BaseView
)

Parameters

NameTypeDescription
viewSourceBaseView

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

|

Remarks

This method overrides the ColumnView.SynchronizeVisual method to implement synchronization of display settings specific to Grid Views. The SynchronizeVisual method forces the current View to have the same look and feel as the View specified by the method’s parameter.

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

See Also

Synchronize

SynchronizeClones

SynchronizeData(BaseView)

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace