[]
Returns the DataTemplate object for the specified group if it is found in resources.
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Public Overrides Function SelectTemplate(item As Object, container As DependencyObject) As DataTemplate
| Type | Name | Description |
|---|---|---|
| object | item | The data object for which to select the template. |
| DependencyObject | container | The data-bound object. |
| Type | Description |
|---|---|
| DataTemplate | Returns a DataTemplate or a null reference (Nothing in Visual Basic). The default value is a null reference (Nothing in Visual Basic). |