Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi I am new to MVVM. I am trying to convert my prism application in mvvm pattern. I have a custom datagrid control which has few non dependency property and fuctions. How can I access those properties in my view model.

Below are the few properties and fuction i am using in my applicaiton.
dataGrid.LoadGrid(collection2);

dataGrid.PaginationEnabled = true;
dataGrid.IsDataLoaded = false;


Now i want to access the above properties and functions in my viewmodel.

Please help me to come out of it.

Thanks
Posted

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