'Declaration
Public Overrides Function SelectTemplate( _ ByVal item As Object, _ ByVal container As DependencyObject _ ) As DataTemplate
public override DataTemplate SelectTemplate( object item, DependencyObject container )
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).