Telerik UI for Windows Phone by Progress

When overridden in a derived class, returns a DataTemplate based on custom logic.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Core (in Telerik.Windows.Core.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public virtual DataTemplate SelectTemplate(
	Object item,
	DependencyObject container
)
Visual Basic
Public Overridable Function SelectTemplate ( _
	item As Object, _
	container As DependencyObject _
) As DataTemplate
Visual C++
public:
virtual DataTemplate^ SelectTemplate(
	Object^ item, 
	DependencyObject^ container
)

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

See Also