Page 1 of 1

Listview not working in designer

Posted: Tue Oct 29, 2019 3:47 am
by TheVito
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell Studio 2019 ( 64 bit ), v5.6.168
32 or 64 bit version of product: 64
Operating system: Windows 10 Pro Version 1903 OS Build 18362.418
32 or 64 bit OS: 64

*** Please add details and screenshots as needed below. ***
The listview control does not show column headers when adding them, gridlines do not show, basically it does not work at all. I created a new form project and added a listview to narrow it down to the simplest example.

if you copy a listview from an existing project and past it into a new project then the control shows all the columns and works. but even adding a new listview to an existing project that has a listview working properly, the new listview just appears as a white box no matter what you do it it with the properties.


DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Re: Listview not working in designer

Posted: Tue Oct 29, 2019 8:50 am
by brittneyr
Columns are not visible by default in a WinForms listview control. If you wish for columns to be visible in a listview, you need to set the value of the View property to Details.
SPS_PropertiesListViewDetails.png
SPS_PropertiesListViewDetails.png (26.71 KiB) Viewed 1803 times