Xceed DataGrid for Silverlight Documentation
PrepareElement(FrameworkElement) Method


The associated element.
Initializes the element that was created through the call to the CreateRow or CreateCell methods. This method will only be called once per element.
Syntax
'Declaration
 
Protected Overridable Sub PrepareElement( _
   ByVal element As FrameworkElement _
) 
'Usage
 
Dim instance As DataGridControl
Dim element As FrameworkElement
 
instance.PrepareElement(element)
protected virtual void PrepareElement( 
   FrameworkElement element
)

Parameters

element
The associated element.
Remarks

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

The base implementations do not need to be called when overriding the PrepareElement, AttachElement, DetachElement, and ClearElement methods

Requirements

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

See Also

Reference

DataGridControl Class
DataGridControl Members

Send Feedback