Make so that Control x:DataType overrides CollectionView.ItemTemplate DataTemplate x:DataType for the Control
Open
area-controls-collectionview
proposal/open
s/needs-attention
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
While there are some solutions to write bindings with ancestor access inside CollectionViews to access ViewModel properties after setting a Model, if would be much more natural and convenient to write it as is:
```
```
So the label data type seeks properties inside the ViewModel, instead of the Model referenced above by
```
```
### Public API Changes
Make so that a Control x:DataType has priority above all else even inside a CollectionView
### Intended Use-Case
Making things simpler and more intuitive when dealing with data types and bindings inside collection views
Contributor guide
Assessment
This issue has not been assessed yet.