Returns the DataTemplate object for the specified group if it is found in resources.

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

Syntax

C#
public override DataTemplate SelectTemplate(
	Object item,
	DependencyObject container
)
Visual Basic
Public Overrides Function SelectTemplate ( _
	item As Object, _
	container As DependencyObject _
) As DataTemplate

Parameters

item
Type: System..::..Object
The data object for which to select the template.
container
Type: System.Windows..::..DependencyObject
The data-bound object.

Return Value

Returns a DataTemplate or a null reference (Nothing in Visual Basic). The default value is a null reference (Nothing in Visual Basic).

See Also