Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
Switching tab views from MVVM viewmodel
posted

I have a XamTabControl with two tabs.

The first tab has a XamDataGrid with a collection of objects.  
The 2nd tab has a UserControl.  
When I select the row I want to view I set the datacontext of the usercontrol to a viewmodel then set SelectedIndex on the tab control to switch the view.

I expect the 2nd tab to come into view but nothing happens.

Is there something else I need to do to make this work?

Parents Reply Children
No Data