I have a wpf-mvvm application.
In that I have follwoing...
<Combo box>
item 1
item 2
</Combo box>
<stack pnel>
<user control 1 />
<user control 1 />
</stack pnel>
If user select "item 1" from combo, i need to display "user control 1" If user select "item 2" from combo, i need to display "user control 2"
In the viewmodel...I have an IList of those two combobox items.
what is the best way to hid/show items here ?