Show / Hide Table of Contents

Method SelectTemplateCore

| Edit this page View Source

SelectTemplateCore(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.

Overrides
DataTemplateSelector.SelectTemplateCore(object, DependencyObject)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX