C# Class WinRTXamlToolkit.Common.ImplicitDataTemplateSelector

Inheritance: Windows.UI.Xaml.Controls.DataTemplateSelector
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
ImplicitDataTemplateSelector ( ) : System

Initializes a new instance of the ImplicitDataTemplateSelector class.

Protected Methods

Method Description
SelectTemplateCore ( object item, DependencyObject container ) : DataTemplate

When implemented by a derived class, returns a specific DataTemplate for a given item or container. This implementation gets the DataTemplate from the resource dictionary defined in the Resources property or in Application resource dictionary that has the same name as the type name of the data item.

Method Details

ImplicitDataTemplateSelector() public method

Initializes a new instance of the ImplicitDataTemplateSelector class.
public ImplicitDataTemplateSelector ( ) : System
return System

SelectTemplateCore() protected method

When implemented by a derived class, returns a specific DataTemplate for a given item or container. This implementation gets the DataTemplate from the resource dictionary defined in the Resources property or in Application resource dictionary that has the same name as the type name of the data item.
///
protected SelectTemplateCore ( object item, DependencyObject container ) : DataTemplate
item object The item to return a template for.
container Windows.UI.Xaml.DependencyObject The parent container for the templated item.
return Windows.UI.Xaml.DataTemplate