The data object for which to select the template.
SelectTemplate Method (TooltipTemplateSelector)
When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.
Syntax
public override DataTemplate SelectTemplate( 
   object item,
   DependencyObject d
)

Parameters

item
The data object for which to select the template.
d

Return Value

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also