Returns a DataTemplate for the item.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

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

Parameters

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

Return Value

A DataTemplate for the item.

See Also