'Declaration
Public Overrides Function SelectTemplate( _
ByVal As System.Object, _
ByVal As System.Windows.DependencyObject _
) As System.Windows.DataTemplate
public override System.Windows.DataTemplate SelectTemplate(
System.object ,
System.Windows.DependencyObject
)
Parameters
- item
- The data object for which to select the template.
- container
- 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).
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