Xceed DataGrid for Silverlight Documentation
GetContainerFromItem Method (DataGridContext)


An object representing the item whose container is to be retrieved.
Retrieves the container for the specified item.
Syntax
'Declaration
 
Public Function GetContainerFromItem( _
   ByVal item As Object _
) As UIElement
'Usage
 
Dim instance As DataGridContext
Dim item As Object
Dim value As UIElement
 
value = instance.GetContainerFromItem(item)
public UIElement GetContainerFromItem( 
   object item
)

Parameters

item
An object representing the item whose container is to be retrieved.

Return Value

A UIElement representing the item's container.
Remarks
Only the data items that are visible in the viewport will have an associated container.
Requirements

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

See Also

Reference

DataGridContext Class
DataGridContext Members

Send Feedback