prism and user control #3314
Unanswered
miller0792
asked this question in
WPF
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Mostly prism newbie question. Is there an example that includes (or video that explains) a simple main window containing this scenario
The main window has a "person" view (a user control) which has a personViewModel in the appropriate folder. Binding works fine with one person in the model, updating the viewmodel, which is bound to the view. Works fine.
Now I'd like to add 3 more of the same "person" view user controls on the same MainWindow, but each of the 4 "person" user controls should display data from 4 different people. (The model has 4 different person objects) Just wondering how to re-use the same user control and its viewmodel and how that relates to the AutoWiring of views and viewmodels.
Beta Was this translation helpful? Give feedback.
All reactions