How to get the cell value of a datagrid in MVVM.i am not selecting anything just i want the value of 2nd row first column.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally your Datagrind is bound to a Property on your Viewmodel. simply access that Property in your Viewmodel and get the Values you need.
In ViewModel you have a Property:
Characteristics Class
In XAML:
You just access the Items Property on your ViewModel and get the second item of the Collection.