C# Class System.Windows.Controls.DataTypeTemplateSelector

Inheritance: System.Windows.Controls.DataTemplateSelector
Mostrar archivo Open project: lecode-official/mvvm-framework

Public Methods

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

Selects a template depending on the type of the object,

Method Details

SelectTemplate() public method

Selects a template depending on the type of the object,
public SelectTemplate ( object item, DependencyObject container ) : DataTemplate
item object The data object for which to select the template.
container DependencyObject The data-bound object.
return DataTemplate