Method SelectTemplateCore
| Edit this page View SourceSelectTemplateCore(object, DependencyObject)
When implemented by a derived class, returns a specific DataTemplate for a given item or container.
Declaration
protected override DataTemplate? SelectTemplateCore(object item, DependencyObject container)
Parameters
Type | Name | Description |
---|---|---|
object | item | The item to return a template for. |
DependencyObject | container | The parent container for the templated item. |
Returns
Type | Description |
---|---|
DataTemplate | The template to use for the given item and/or container. |