Hi,
When I use a ListView in WPF it always generates one extra column at the end of the ListView. For example, if I define two columns in my listview and when I run it it generates those two columns plus one empty column header. Any idea how I can remove that?


Bryian TanRank #396 · 6.3K reputationPosted Aug 31, 2010, 5:58 PM EDT
I don't think that is the extra column. Try include some style on the column generated by the application to differentiate it from the ListView default column header color.
Here is the link to a brief example on how to decorate the header. http://vbfeeds.com/post.aspx?id=7192
Sam HobbsRank #107 · 20.5K reputationPosted Sep 1, 2010, 12:47 AM EDT
Bryian TanRank #396 · 6.3K reputationPosted Sep 1, 2010, 7:03 PM EDT
Sorry if I misunderstood your question. Please don't take it personal. My ListView control has no different than your ListView control. I thought you were referring to the column shown in figure 1. That the reason I suggested to highlight the active column to make it outstanding or re-size the window to match the ListView width and height.
Figure 1
Sam HobbsRank #107 · 20.5K reputationPosted Sep 1, 2010, 10:15 PM EDT