When overridden in a derived class, gets a DataTemplate for the item.
If this method returns null, the item is handed off to the BasedOn DataTemplateSelector.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
protected abstract DataTemplate SelectTemplateCore( Object item, DependencyObject container ) |
Visual Basic (Declaration) |
---|
Protected MustOverride Function SelectTemplateCore ( _ item As Object, _ container As DependencyObject _ ) As DataTemplate |
Parameters
- item
- Type: System..::.Object
The item for which to select the template.
- container
- Type: System.Windows..::.DependencyObject
The data-bound object.