Answers for "display list in listbox c#"

C#
0

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

C# Answers by Framework

Browse Popular Code Answers by Language