Skip to content

Non-trivial example of binding to the DataTemplate of a ListView or CollectionView #236

Closed Answered by brminnick
h0lg asked this question in Q&A
Discussion options

You must be logged in to vote

Existing Examples from Sample App + Unit Tests

Here's a non-trivial example from our sample app:

For your specific example, you'll need to use nested-bindings which are egregiously more complex. I highly recommend avoid using nested classes in your models to avoid nested-bindings.

We have a few examples of nested-bindings in our Unit Tests; here's one for example:

entry.Bind(Entry.TextColorProperty,
static (Neste…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by h0lg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants