Answers for "listview item c#"

1

C# listview as listbox

this.listView1.View = View.Details;
this.listView1.HeaderStyle = ColumnHeaderStyle.None;
this.listView1.FullRowSelect = true;
this.listView1.Columns.Add("", -2);
this.listView1.Items.Add("Something");
this.listView1.Items.Add("Something else").BackColor = Color.Red;
Posted by: Guest on August-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language