'Declaration Public Function GetContainerFromItem( _ ByVal item As Object _ ) As DependencyObject
'Usage Dim instance As DataGridContext Dim item As Object Dim value As DependencyObject value = instance.GetContainerFromItem(item)
public DependencyObject GetContainerFromItem( object item )
Parameters
- item
- An item in the context whose container to retrieve.
Return Value
A DependencyObject representing the container of the specified item. Can be a null reference (Nothing in Visual Basic) if the item belongs to the context but does not have a container.