Example of compile time binding within XAML to get Key and Value properties of KeyValuePair<T,T> - how? ...
- Dominant language
- No language data
- Stars
- 282
- Forks
- 265
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
Can someone compose an example with compile time binding as requested in this
[StackOverflow post](https://stackoverflow.com/questions/73476470/net-maui-how-to-bind-to-a-property-in-an-object-that-is-a-list-of-keyvaluepai/).
Ideally, an example that illustrates how to (within XAML) get intellisense to recognize the "Key" and "Value" properties given an object that is defined as:
` public List> kvp_list { ... }`
... would really be appreciated.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: d8079bc8-3987-9069-717e-c5cbf3512ae1
* Version Independent ID: d8079bc8-3987-9069-717e-c5cbf3512ae1
* Content: [Compiled bindings - .NET MAUI](https://docs.microsoft.com/en-us/dotnet/maui/fundamentals/data-binding/compiled-bindings)
* Content Source: [docs/fundamentals/data-binding/compiled-bindings.md](https://github.com/dotnet/docs-maui/blob/main/docs/fundamentals/data-binding/compiled-bindings.md)
* Product: **dotnet-mobile**
* Technology: **dotnet-maui**
* GitHub Login: @davidbritch
* Microsoft Alias: **dabritch**
Contributor guide
Assessment
This issue has not been assessed yet.