Class TemplateSourceSelector
- Namespace
 - Nalu
 
- Assembly
 - Nalu.Maui.Layouts.dll
 
A DataTemplateSelector that selects a DataTemplate based on the DataTemplate provided as the item. It also ensures that the BindingContext of the created View is set to the BindingContext of the container.
public class TemplateSourceSelector : DataTemplateSelector
  - Inheritance
 - 
      
      
      
      
      TemplateSourceSelector
 
- Inherited Members
 
Methods
OnSelectTemplate(object, BindableObject)
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
  Parameters
itemobjectcontainerBindableObject