Returns the index to an item that corresponds to the specified, generated container element.

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

Syntax

C#
public int IndexFromContainer(
	DependencyObject container
)
Visual Basic
Public Function IndexFromContainer ( _
	container As DependencyObject _
) As Integer

Parameters

container
Type: System.Windows..::..DependencyObject
The container that corresponds to the item to the index to be returned.

Return Value

An index to an item that corresponds to the specified, generated container element.

See Also