开发者

How to Add Dynamic Column in listview Wpf

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开发者_如何学Go Wpf plz help me out

thanks shashank tyagi


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜