Xceed DataGrid for WPF v7.2 Documentation
SynchronizeActualAndTemplateCells Method (Row)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Row Class : SynchronizeActualAndTemplateCells Method
The current DataGridContext of the row.
The current ColumnCollection of the row.

Indicates if the cells provided by the template of the row must be initialized through this method.  Will be true only if the cell panel implements the IVirutalizingCellHost interface and there is a least one template cell.

Properly prepares the cells of a row.
Syntax
'Declaration
 
Protected Overridable Sub SynchronizeActualAndTemplateCells( _
   ByVal dataGridContext As DataGridContext, _
   ByVal columns As ColumnCollection, _
   ByVal initializeTemplateCells As Boolean _
) 
'Usage
 
Dim instance As Row
Dim dataGridContext As DataGridContext
Dim columns As ColumnCollection
Dim initializeTemplateCells As Boolean
 
instance.SynchronizeActualAndTemplateCells(dataGridContext, columns, initializeTemplateCells)
protected virtual void SynchronizeActualAndTemplateCells( 
   DataGridContext dataGridContext,
   ColumnCollection columns,
   bool initializeTemplateCells
)

Parameters

dataGridContext
The current DataGridContext of the row.
columns
The current ColumnCollection of the row.
initializeTemplateCells

Indicates if the cells provided by the template of the row must be initialized through this method.  Will be true only if the cell panel implements the IVirutalizingCellHost interface and there is a least one template cell.

Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Row Class
Row Members