The TypeTemplateSelector type exposes the following members.

Constructors

  NameDescription
TypeTemplateSelector

Methods

  NameDescription
GetSelectionType
Gets the type to be used in selecting a template for an item, being the CLR type of the object itself.
(Overrides TypeTemplateSelectorBase..::.GetSelectionType(Object).)
SelectTemplate
Returns a DataTemplate for the item.
(Inherited from DelegatingDataTemplateSelector.)
SelectTemplateCore
Returns a DataTemplate according to the type of the item.
(Inherited from TypeTemplateSelectorBase.)

Properties

  NameDescription
BasedOn
Gets or sets the DataTemplateSelector on which to fall back if no template is found by this selector.
(Inherited from DelegatingDataTemplateSelector.)
DefaultTemplate
Gets or sets the default data template.
(Inherited from TypeTemplateSelectorBase.)
TypeTemplates
Gets the list of type-specific templates.
(Inherited from TypeTemplateSelectorBase.)

See Also