Returns the container element corresponding to the given item.

Namespace:  C1.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public DependencyObject ContainerFromItem(
	Object item
)
Visual Basic
Public Function ContainerFromItem ( _
	item As Object _
) As DependencyObject

Parameters

item
Type: System..::..Object
The Object item to find the container for.

Return Value

A container element that corresponds to the given item. Returns a null reference if the item does not belong to the item collection, or if a container element has not been generated for it.

See Also