New DataTemplateSelector that supports adding children in xaml.
Open
Design Discussion
Enhancement Requested
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
The API I have in mind is:
```xaml
...
...
```
I don't remember what the ways to do this is. Implementing `IList` is one but not ideal here. Maybe `IAddChild` is a thing.
Add would add the templates to a `Dictionary` and `SelectTemplate` would resolve from that. Don't think there is a need for a new type, tweaking the existing should be ok.
Probably safest with a new type for this.
Contributor guide
Assessment
This issue has not been assessed yet.