Uno.Extension-Navigation: use existing ViewModel #8867
-
How is the following with Uno.Extensions supposed to work: if I have a ListView bound to a collection of "ItemViewModels" and click one entry - how can I navigate to a View that gets the DataContext set to that selected ItemViewModel (instead of creating a new/empty one for the view)? I currently send the selected ViewModel as a parameter to the view and set the DataContext manually. But that feels not right. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Hey, check out this how-to guide and let me know if you still need a hand: https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Tutorials/Navigation/HowTo-DisplayItem.html |
Beta Was this translation helpful? Give feedback.
Hey, check out this how-to guide and let me know if you still need a hand: https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Tutorials/Navigation/HowTo-DisplayItem.html