| | |
Dynamically load and use wpf usercontrols
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
Hi!
I'm trying to create a WPF application using MVVM design pattern. I'd like to create a window with a menu, that by pressing the different buttons on the menu, I move between views. If I create the views as usercontrols, how can I dynamically switch between them, in a way that supports the design pattern, i.e. commands and viewmodel?
Thanks
I'm trying to create a WPF application using MVVM design pattern. I'd like to create a window with a menu, that by pressing the different buttons on the menu, I move between views. If I create the views as usercontrols, how can I dynamically switch between them, in a way that supports the design pattern, i.e. commands and viewmodel?
Thanks
![]() |
Other Threads in the C# Forum
- Previous Thread: ascx control values in aspx page
- Next Thread: Shuffling a deck of cards help!?
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array bitmap box broadcast buttons c# chat check checkbox class client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ httpwebrequest image index install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation visualstudio webbrowser windows winforms wpf xml





