1

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

1 Answer 1

1

A ListView can present data in a variety of formats. This is based on it's View property. By setting the view to GridView. 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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.