Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
Vereinsmeisterschaften.TemplateSelectors.EnumTemplateSelector Class Reference

Template selector that returns the DataTemplate depending on the given Enum value. More...

Inheritance diagram for Vereinsmeisterschaften.TemplateSelectors.EnumTemplateSelector:

Public Member Functions

override DataTemplate SelectTemplate (object item, DependencyObject container)
 If the given item is an Enum and the Templates have an entry for this Enum, return the corresponding DataTemplate
 

Properties

Dictionary< Enum, DataTemplate > Templates = new() [get]
 Dictionary with KeyValuePair<Enum, DataTemplate>
 

Detailed Description

Template selector that returns the DataTemplate depending on the given Enum value.

Definition at line 9 of file EnumTemplateSelector.cs.

Member Function Documentation

◆ SelectTemplate()

override DataTemplate Vereinsmeisterschaften.TemplateSelectors.EnumTemplateSelector.SelectTemplate ( object item,
DependencyObject container )

If the given item is an Enum and the Templates have an entry for this Enum, return the corresponding DataTemplate

Parameters
itemItem used to get the DataTemplate
containerParent Container. Not used.
Returns
DataTemplate from Templates if found. Otherwise the base method is called.

Definition at line 22 of file EnumTemplateSelector.cs.

Property Documentation

◆ Templates

Dictionary<Enum, DataTemplate> Vereinsmeisterschaften.TemplateSelectors.EnumTemplateSelector.Templates = new()
get

Dictionary with KeyValuePair<Enum, DataTemplate>

Definition at line 14 of file EnumTemplateSelector.cs.


The documentation for this class was generated from the following file: