i have a problem i want to add Colomn ( Dynamic using C #) in listview in Wpf how can i achive it and why we using grid view inside Listview in Wpf plz help me out
thanks shashank tyagi
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.
A
ListViewcan present data in a variety of formats. This is based on it’sViewproperty. By setting the view toGridView. you are telling the listview that you wish to present your data in the gridview format.AS for the creation of columns
MSDN has a good tutorial on how to do this programatically.
Basically you’ll just need to create the gridview dynamically and then assign it to the View property of the listview
Hope it helps. – Val