Add item to separate lines in a list

When I add a listview to my form and to the load event form, I write the code below, the elements added to the same line are not in separate lines, how can I add them to divided lines

            listView1.MultiSelect = true;
            listView1.CheckBoxes = true;
            listView1.Items.Add("Item 1");
            listView1.Items.Add("Item 22");
            listView1.Items.Add("Item 333");
+5
source share
3 answers

try it

listView1.View = View.List;
+15
source

Given this, I would suggest that this is because your ListView does not have small icons or fragments by default. Try adding this line anywhere:

listView1.View = View.Details;
+5
source

?
3 , 3 , View ListView Details

+1

All Articles