Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I`m new to WPF and databinding so I stumbled on something. I have created an app with vb.net where my MainWindow contains controls and a frame in which I load a page. On the page I have a listview where the data is loaded from the database.

Now, I have created the Viewmodel and set up the properties to bind to the controls on the Mainwindow so I could set IsEnabled property to True or False through the
INotifyPropertyChanged


If I change the properties from the mainwindow code, is working. What I want to be able to do is when I click on an item on the page-listview to change the properties in the viewmodel and reflect it back to the UI of the Mainwindow.

I`v searched and could not find anything to help me out.

Does anyone have a suggestion on how can I achieve this or some directions to the right place where to find useful information or at least what needs to be used so i can research more of it?

Cheers,
Posted
Updated 22-May-15 2:29am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900