Xceed DataGrid for Silverlight Documentation
CreateCell Method


The cell's parent row.
The cell's parent column.
Creates and returns a new cell.
Syntax
'Declaration
 
Protected Overridable Function CreateCell( _
   ByVal row As Row, _
   ByVal column As Column _
) As Cell
'Usage
 
Dim instance As DataGridControl
Dim row As Row
Dim column As Column
Dim value As Cell
 
value = instance.CreateCell(row, column)
protected virtual Cell CreateCell( 
   Row row,
   Column column
)

Parameters

row
The cell's parent row.
column
The cell's parent column.

Return Value

The newly created cell.
Remarks

If a grouping, sorting, or filtering operation is made, all recyclable elements will be cleared and the initialization process from PrepareColumnElement to DetachColumnElement will be restarted.

The cell-specific Create, Prepare, and Attach methods are not necessarily called at the same time as those on the containing row. For performance reasons, a row's cells are sometimes initialized after the scrolling animation completes. This behavior is what causes the "empty rows" that are shown when scrolling vertically.

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataGridControl Class
DataGridControl Members

Paths and Containers

Container Recycling

Send Feedback