Returns the DataTemplate corresponding to the supplied DateTimeDisplayElement.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

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

Parameters

item
Type: System..::.Object
A DateTimeDisplayElement.
container
Type: System.Windows..::.DependencyObject
The data-bound object.

Return Value

The template corresponding to the supplied DateTimeDisplayElement.

See Also