How can I hide the vertical lines between the columns in a WPF ListView header?
To illustrate: by default, it looks like the top picture; I want it to look like the bottom picture instead.

(source: excastle.com)
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.
Unfortunately, there’s no a easy property you can set and you’d have to restyle the GridViewColumnHeader. If you include the following in your application or window resources then it will accomplish what you want for the Aero theme:
The Style is copied from the default system Styles provided by Microsoft with a single line changed (the setting of the Background property in the GridViewColumnHeaderGripper Style).