Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : CreateCell Method |
'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)
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.
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family